Tools, FAQ, Tutorials:
"docker image rm ..." - Remove All Images
How to remove all images from the Docker Engine with "docker image rm ..." command?
✍: FYIcenter.com
If you have created many images on the Docker Engine
and you want to remove them all,
you can use the "docker image rm ..." command with a sub-command to specify
the list of all image IDs.
1. Run "docker image list --all --quiet" to get a list of all image IDs.
fyicenter$ docker image list --all --quiet 24fc134f1a5a 660f6e09a539 e744e7509b13 07c676e97a34 81c5c69c5fcd
2. Embed the above command into the "docker image rm" command to remove them all.
fyicenter$ docker image rm $(docker image list --all --quiet) 24fc134f1a5a 660f6e09a539 e744e7509b13 07c676e97a34 81c5c69c5fcd
2. Try to list all images. There should be no image left.
fyicenter$ docker image list --all
⇒ "docker image pull" - Pull Image
2021-10-02, ∼1950🔥, 0💬
Popular Posts:
How to use the Atom Online Validator at w3.org? w3.org feed validation service is provided at http:/...
How to build a PHP script to dump Azure AD 2.0 Authentication Response? If you are use the Azure-AD-...
How To Merge Cells in a Column? If you want to merge multiple cells vertically in a row, you need to...
Why I am getting "The Windows SDK version 8.1 was not found" error, when building my C++ application...
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to lo...