Docker misconception: should I use ENTRYPOINT or CMD? Docker offers two ways to control what is executed when a container starts, ENTRYPOINT and CMD . Often, they are confused and misused.