Answers for "DOCKER get shell"

19

docker access container

docker exec -it <mycontainer> bash
docker exec -it <mycontainer> sh ##for alpine
Posted by: Guest on May-12-2020
3

open the bash shell of docker container

command docker exec -it <container name> /bin/bash
Posted by: Guest on May-25-2021
11

how to bash into docker container

docker exec -it nginx /bin/bash
Posted by: Guest on May-26-2020

Browse Popular Code Answers by Language