docker volume rm

Remove one or more volumes

Usage

docker volume rm [OPTIONS] VOLUME [VOLUME...]

Description

Remove one or more volumes. You cannot remove a volume that is in use by a container.

Options

OptionShortDefaultDescription
--force-fAPI 1.25+ Force the removal of one or more volumes

Examples

$ docker volume rm hello

hello