Skip to content

Docker Pro Tips#

docker run vs docker exec#

The difference between "docker run" and "docker exec" is that "docker exec" executes a command on a running container. On the other hand, "docker run" creates a temporary container, executes the command in it and stops the container when it is done.


Last update: 2022-02-12 15:57:16