Answers for "how ot get shell in docker image"

19

docker access container

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

docker run command on container

sudo docker exec -it <container name> <command>
Posted by: Guest on July-04-2020

Browse Popular Code Answers by Language