Docker rmi: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
docker rmi <''image-id''> | 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}}") |
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 "Template:.ID")