Skip to content

Glossary: Docker Basics

docker exec

Runs a command inside a running container, for example `docker exec -it web bash` for a shell. It fails if the container is stopped.

Where the book teaches it

Related terms

docker run-it