7. List of 20 docker commands and its use cases with example? by Ramalakshmi
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
docker pull: pull the image from the docker hub
docker ps: list the running containers
docker ps -a: list the running and stopped containers
docker start start the container
docker stop: stop the one or more running containers
docker restart: restart the container
docker rm: remove the container
docker exec: runs a new command in a running container
docker image: show all image
docker info: show the information about docker installation
docker kill: kill one or more running containers
docker login: login into docker register