1DOCKER(1)                          JUNE 2014                         DOCKER(1)
2
3
4

NAME

6       docker-rmi - Remove one or more images
7
8
9

SYNOPSIS

11       docker rmi [-f|--force] [--help] [--no-prune] IMAGE [IMAGE...]
12
13
14

DESCRIPTION

16       Removes one or more images from the host node. This does not remove
17       images from a registry. You cannot remove an image of a running
18       container unless you use the -f option. To see all images on a host use
19       the docker images command.
20
21
22

OPTIONS

24       -f, --force=true|false
25          Force removal of the image. The default is false.
26
27
28       --help
29         Print usage statement
30
31
32       --no-prune=true|false
33          Do not delete untagged parents. The default is false.
34
35
36

EXAMPLES

Removing an image

39       Here is an example of removing an image:
40
41
42              docker rmi fedora/httpd
43
44
45
46

HISTORY

48       April 2014, Originally compiled by William Henry (whenry at redhat dot
49       com) based on docker.com source material and internal work.  June 2014,
50       updated by Sven Dowideit ⟨SvenDowideit@home.org.au⟩ April 2015, updated
51       by Mary Anthony for v2 ⟨mary@docker.com⟩
52
53
54
55Docker Community              Docker User Manuals                    DOCKER(1)
Impressum