Stop and remove all docker containers

0
(0)

To stop all running containers type:

# docker stop $(docker ps -a -q)

To remnove all stopped containers type:

# docker rm $(docker ps -a -q)

Similar Posts:

823

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Scroll to Top