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`


Popular posts from this blog

TCPDF How to show/display Chinese Character?

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

Using wget bypass htaccess username password 401 authorization