Useful docker commands
- Bilal Malik
- Jul 25, 2019
- 1 min read
To see the list of images
docker imagesTo see the list of running containers
docker psTo see the list of all containers (both running and stopped containers)
docker ps -aRemove(Delete) Image
docker rmi image_nameRemove(Delete) container
docker rm container_nameStart and Stop Docker containers
docker start container
docker stop containerStop all the containers at one command
docker stop $(docker ps -a -q)
Comments