Docker rmi: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Client Operations =Overview=")
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=


* [[Docker_Client_Operations#Image_Management|Client Operations]]
* [[Docker_Client_Operations#Remove_an_Image|Image Operations]]
* [[docker images#Overview|docker images]]


=Overview=
=Overview=
Remove one or more images from the [[Docker_Concepts#Local_Image_Repository|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 "&#123;{.ID}}")
=<span id='Delete_Dangling_Images'></span>Remove Dangling Images=
{{Internal|Remove Dangling Docker Images#Procedure|Remove Dangling Docker Images}}
Also see [[Docker_images#Dangling_Images|docker images]].
=Removing a Tag=
{{Internal|Docker tag#Removing_a_Tag|docker tag}}

Latest revision as of 21:45, 16 August 2019

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