Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.03 KB

exec_error.md

File metadata and controls

29 lines (18 loc) · 1.03 KB

Exec Error

I was attempting to build a basic Docker container when I observed the following error:

OCI runtime create failed: container_linux.go:349

So I googled and found no exact matches, I guess line 349 is sort of a moving taget, so I picked the first link in the result set.

The solution was basically, missing execute bit on my ENTRYPOINT

Easy solution:

$ chmod +x entrypoint.sh

But the need for the script to be executable on the host system, might vary, so instead I added the followin to my Dockerfile

RUN chmod +x /entrypoint.sh

This does the job just as good, but does possibly add more build time to your Docker build, so pick the solution that suits your needs.

Resources and References