What Was I Thinking?

Follies & Foils of .NET Development
posts - 91 , comments - 346 , trackbacks - 0

October 2016 Entries

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)

Posted On Friday, October 7, 2016 12:52 PM | Comments (0) |

Powered by: