volume rm

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

Aliases

docker volume rm, docker volume remove

Options

NameTypeDefaultDescription
-f, --forceboolForce the removal of one or more volumes

Description

Remove one or more volumes. You can‘t remove a volume that’s in use by a container.

Examples

$ docker volume rm hello

hello

Related commands