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

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started 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