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

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

Notify of

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

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x