
The often misunderstood difference between ENTRYPOINT and CMD in Docker
The container’s init process is defined by a ENTRYPOINT and a CMD instruction. The ENTRYPOINT instruction looks almost similar to the CMD instruction. Both of them help to define the init process of the container. What is the difference between those two ?