-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-entrypoint.sh: permission denied #636
Comments
The permissions on Or a Docker named volume would work but you can't necessarily pre-populate it with files |
I'm confused. It looks like it is failing to access Perhaps you have the same problem as moby/moby#34644? We don't have anything in the image to take use of |
|
hmm i dont build the image, i just pull it with docker-compose moby/moby#34644? - i have tried to change to folders permission like he metionted but that dindt work - same log error Update: when i add the user: mysql Creating mysql ... error ERROR: for mysql Cannot start service mysql: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "docker-entrypoint.sh": executable file not found in $PATH": unknown ERROR: for mysql Cannot start service mysql: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "docker-entrypoint.sh": executable file not found in $PATH": unknown |
Are you using Docker for Win/Mac Maybe it's a corrupt image, try The error |
Did you make any progress on this issue? |
@wglambert and i tried to pull the image or re pulling it. - no difference. |
SOLVED! |
Awesome, glad you got it working 👍 |
I believe this is a wider issue, I've suddenly started getting this on all my containers, it was not limited to mysql, I've re-installed docker using apt instead of snap, and it seems to be resolved. . |
@ThomasRedstone Thank you! EDIT: For the record, running Ubuntu 20.04 |
I've faced the same issue with several different containers (mariadb included) and the workaround of uninstalling docker through snap and reinstalling through apt solved it. For the record, running Ubuntu 18.04. |
It’s probably related to this issue with the docker snap: As mentioned, a workaround is to uninstall the docker snap and reinstall docker with apt.
|
Same here. Uninstalling Snap, installing apt-get docker worked. In case |
Another possibility that I encountered was the git clone left the entrypoint with a
|
My host is on macOS, I had the same issue. I had to set the following to work around the error:
|
Hello forum
Im quite new to docker and ran into some problem with mysql:
I have a docker-compose file where i have:
but when i compose it , i get this error in log:
Any idea, whats going on?
The text was updated successfully, but these errors were encountered: