Docker Community Forums

Share and learn in the Docker community.

Problem with docker-entrypoint

Hi folks.

I’ve been searching the web looking for the location of docker-entrypoint.sh with no success.

I’m starting to think this is not a file, although they all say to set it 755.

Any help would be appreciated.

Thanks.

The docker-entrypoint.sh is typically specific to the image. Example would be Mongo.
https://github.com/docker-library/mongo/blob/6f548652b0139ff50182c56d3c74efd875f6fb5c/3.4/docker-entrypoint.sh

Hi, thank you.

I’m sorry I’m such a rookie at this and I just chmod 755 the /var/lib/docker/containers/ because I couldn’t find the .sh file.

Cannot start the container with the useless message: command could not be invoked

Is there some sort of log for this?

Thank you.