Closed nhatmicls closed 2 years ago
Nightly builds the nats server outside of docker and then copies it in.
In your setup it appears that you do not and that what is copied in is a directory not a file.
The nightly container is made to use with goreleaser not general use
Thanks
If you just want to modify config files then use ours as your base image with FROM and then. In yours just copy in new check fig files.
Hi, im try building nats image with some config i want to build with. But it have some problem with it. How can I fix this ? Thanks.
Folder tree
Building command
docker build -f "nats-server/docker/Dockerfile.nightly" -t nats_scada .
Result build:
Here is docker file (it nearly same Dockerfile.nightly)
But when I try running this image it give me error
Run command:
docker run --rm -it nats_scada
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/bin/nats-server": permission denied: unknown.