Ubuntu how to remove all docker images / containers

Two commands:

Remove all images:

sudo docker rmi `sudo docker images -q`

Remove all containers:

sudo docker rm `sudo docker ps -aq`

Comments

Popular posts from this blog

TCPDF How to show/display Chinese Character?

How to fix fancy box/Easy Fancybox scroll not work in mobile

Wordpress Load balancing: 2 web servers 1 MySQL without any Cloud services