What is Docker Entrypoint?

We use Docker Entrypoint to set the starting point for a command in a Docker Image.
We can use the entrypoint as a command for running an Image in the container.
E.g. We can define following entrypoint in docker file and run it as following command:
ENTRYPOINT [“mycmd”]
% docker run mycmd

Read the full book at www.amazon.com
Posted in Docker, Docker Interview Questions

Leave a Reply

Your email address will not be published. Required fields are marked *

*