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

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

0 0 votes
Article Rating
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