Connecting to a Container
Learn how to execute commands in running Docker containers using the docker exec command.
We'll cover the following...
Execute commands in running containers
The docker exec
command is used to execute commands in running containers, and it has two modes:
- Interactive
- Remote execution
Interactive sessions connect your terminal to a shell process in the container and behave like remote SSH ...