Docker rmi: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
Dangerous, do it only if you know what you're doing:
Dangerous, do it only if you know what you're doing:


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

Revision as of 21:50, 17 January 2018

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}}")