top of page

Useful docker commands

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)

Recent Posts

See All
Useful docker commands

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...

 
 
 
Run docker command without sudo

If you need to run docker command without sudo, then you need to add your user into docker group. Create the docker group. $ sudo...

 
 
 

Comentários


Follow Me

  • LinkedIn
  • Twitter
  • Facebook
  • YouTube
  • Instagram

©2021 by Bilal Usean. Proudly created with Wix.com

bottom of page