Docker rmi: Difference between revisions
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
docker rmi --force $(docker images --format "{{.ID}}") | docker rmi --force $(docker images --format "{{.ID}}") | ||
= | =<span id='Delete_Dangling_Images'></span>Remove Dangling Images= | ||
{{Internal|Remove Dangling Docker Images#Procedure|Remove Dangling Docker Images}} | {{Internal|Remove Dangling Docker Images#Procedure|Remove Dangling Docker Images}} | ||
Also see [[Docker_images#Dangling_Images|docker images]]. | Also see [[Docker_images#Dangling_Images|docker images]]. |
Revision as of 16:35, 18 October 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}}")
Remove Dangling Images
Also see docker images.