mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![Tianon Gravi](/assets/img/avatar_default.png)
Some flags ended with a colon, some didn't. For man pages, the prevailing normal practice is not to end the flags lines with colons. Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
29 lines
918 B
Groff
29 lines
918 B
Groff
.\" Process this file with
|
|
.\" nroff -man -Tascii docker-run.1
|
|
.\"
|
|
.TH "DOCKER" "1" "MARCH 2014" "0.1" "Docker"
|
|
.SH NAME
|
|
docker-rmi \- Remove one or more images.
|
|
.SH SYNOPSIS
|
|
.B docker rmi
|
|
[\fB-f\fR|\fB--force\fR[=\fIfalse\fR]
|
|
IMAGE [IMAGE...]
|
|
.SH DESCRIPTION
|
|
This will remove one or more images from the host node. This does not remove images from a registry. You cannot remove an image of a running container unless you use the \fB-f\fR option. To see all images on a host use the \fBdocker images\fR command.
|
|
.SH "OPTIONS"
|
|
.TP
|
|
.B -f, --force=\fItrue\fR|\fIfalse\fR
|
|
When set to true, force the removal of the image. The default is \fIfalse\fR.
|
|
.SH EXAMPLES
|
|
.sp
|
|
.PP
|
|
.B Removing an image
|
|
.TP
|
|
Here is an example of removing and image:
|
|
.sp
|
|
.RS
|
|
docker rmi fedora/httpd
|
|
.RE
|
|
.sp
|
|
.SH HISTORY
|
|
March 2014, Originally compiled by William Henry (whenry at redhat dot com) based on dockier.io source material and internal work.
|