Docker rmi

From NovaOrdis Knowledge Base
Revision as of 21:45, 16 August 2019 by Ovidiu (talk | contribs) (→‎Remove Dangling Images)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

Remove one or more images from the local image repository.

docker rmi <image-id>

Delete All Images from Local Registry

Dangerous, do it only if you know what you're doing:

docker rmi --force $(docker images --format "{{.ID}}")

Remove Dangling Images

Remove Dangling Docker Images

Also see docker images.

Removing a Tag

docker tag