Skip to content

MediumConceptDocker troubleshooting and security

What is the difference between docker run and docker exec?

What a good answer covers

run creates and starts a new container from an image, whereas exec runs an extra command inside an already running container.

More on Docker troubleshooting and security

Flashcards for this topic