What Was I Thinking?

Follies & Foils of .NET Development
posts - 95 , comments - 352 , trackbacks - 0

Remove (and stop) all Docker Containers (and Images)

 

A simple one-liner to stop all the containers and then remove them

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

 

And similar for all images:

docker rmi $(docker images -q)

Print | posted on Friday, October 7, 2016 12:52 PM |

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Comment:
Verification:
 

Powered by: