-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
First of all, thanks for a great article about docker shutdown: https://husobee.github.io/golang/ecs/2016/05/19/ecs-graceful-go-shutdown.html
I am trying to run your code to better understand the concept.
I put the main piece of go code from your blog post into a file main.go and put in a subdirectory './app' directory. I totally just make this up because it is not clear how to name the go file. Then I created the Dockerfile and run the docker build.
No problem at this stage.
Here is directory structure:
> tree
.
├── Dockerfile
└── app
└── main.go
When I bring up the docker process, I go this error:
> docker run e74e925e6789
container_linux.go:262: starting container process caused "exec: \"/app\": permission denied"
docker: Error response from daemon: oci runtime error: container_linux.go:262: starting container process caused "exec: \"/app\": permission denied".
I think there is something missing with the Dockerfile?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels