Entering Docker containers
To enter a Docker container we can complete the following steps.
Procedure
- Run the following command to list all running Docker containers.
docker ps
- Locate the name of the rarget container in the NAMES column.
- Start a bash shell.with the target container name. For example,
docker exec -it <container_name> bash
Related concepts
Run Engine commands