To see the list of images

docker images

To see the list of running containers

docker ps

To see the list of all containers (both running and stopped containers)

docker ps -a

Remove(Delete) Image

docker rmi image_name

Remove(Delete) container

docker rm container_name

Start and Stop Docker containers

docker start container

docker stop container

Stop all the containers at one command

docker stop $(docker ps -a -q)

 

About Bilal

I'm a software programmer, I handle Magento2 modifications at any level.

View all posts by Bilal →

Leave a Reply

Your email address will not be published. Required fields are marked *