docker volume update


Update a volume (cluster volumes only)

API 1.42+  The client and daemon API must both be at least 1.42 to use this command. Use the docker version command on the client to check your client and daemon API versions.

Swarm This command works with the Swarm orchestrator.

Usage

$ docker volume update [OPTIONS] [VOLUME]

Options

Name, shorthand Default Description
--availability active API 1.42+Swarm
Cluster Volume availability (active, pause, drain)

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 local volumes
docker volume rm Remove one or more volumes
docker volume update Update a volume (cluster volumes only)