Home > Article > Operation and Maintenance > How to enter the local docker container
How to enter the local docker container
docker provides a new command after version 1.3.Xexec Used to enter the container, this method is relatively simple. Let's take a look at the use of this command:
$ sudo docker exec --help
Next we use this command to enter an already running Container
$sudo docker ps -a $sudo docker exec -it 775c7c9ee1e1 /bin/bash
Recommended reading:
How to enter the docker container
The above is the detailed content of How to enter the local docker container. For more information, please follow other related articles on the PHP Chinese website!