docker volume create

Estimated reading time: 1 minute

Description

Create a volume

Usage

docker volume create [OPTIONS] [VOLUME]

Options

Name, shorthand Default Description
--driver, -d local Specify volume driver name
--label   Set metadata for a volume
--name   Specify volume name
--opt, -o map[] Set driver specific options

Parent command

Command Description
docker volume Manage volumes
Command Description
docker volume create Create a volume
docker volume inspect Display detailed information on one or more volumes
docker volume ls List volumes
docker volume prune Remove all unused volumes
docker volume rm Remove one or more volumes
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: