7. List of 20 docker commands and its use cases with example? by Bharath Srinivas

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

docker info: displays information about docker installation

docker ps : to check the running containers

docker ps -a : to check all the containers which are running and exited

docker images: to check the list of images

docker pull: to pull the image from registry

docker push: to push the created image to registry

docker stop: to stop the container

docker start: to start the stopped container

docker kill: to kill the running container unsafe

docker rmi: to remove the images

docker system prune : to remove unused containers,images

docker rm: to remove the container

docker run: to start and run a container

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x