Question: what is the difference between docker run and docker exec?
Answer: They are essentially two ways of doing the same thing in different run states. docker run — will start up a new container and run a process within that new container. docker exec — will execute a command in a container is already running.