Making Container Executable The ENTRYPOINT instruction sets the default command for the container when we run it using the docker run command. The former ENTRYPOINT instruction sets a command in exec form while the latter shell form executes the command using /bin/sh -c .