2020-03-24 15:09:46 +00:00
|
|
|
---
|
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: volume'
|
|
|
|
description: |
|
|
|
|
The volume command is used to interact with volumes.
|
|
|
|
---
|
|
|
|
|
|
|
|
# Command: volume
|
|
|
|
|
|
|
|
The `volume` command is used to interact with volumes.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Usage: `nomad volume <subcommand> [options]`
|
|
|
|
|
|
|
|
Run `nomad volume <subcommand> -h` for help on that subcommand. The following
|
|
|
|
subcommands are available:
|
|
|
|
|
2021-05-21 05:16:07 +00:00
|
|
|
- [`volume create`][create] - Create a volume.
|
|
|
|
- [`volume delete`][delete] - Delete a volume.
|
2020-03-24 15:09:46 +00:00
|
|
|
- [`volume deregister`][deregister] - Deregister a volume.
|
2020-08-11 14:18:54 +00:00
|
|
|
- [`volume detach`][detach] - Detach a volume.
|
2021-05-21 05:16:07 +00:00
|
|
|
- [`volume init`][init] - Create an example volume specification file.
|
2020-08-11 14:18:54 +00:00
|
|
|
- [`volume register`][register] - Register a volume.
|
2021-05-21 05:16:07 +00:00
|
|
|
- [`volume snapshot create`][snapshot-create] - Create a volume snapshot.
|
|
|
|
- [`volume snapshot delete`][snapshot-delete] - Delete a volume snapshot.
|
|
|
|
- [`volume snapshot list`][snapshot-list] - List all volume snapshots.
|
|
|
|
- [`volume status`][status] - Display status information about a volume.
|
2020-03-24 15:09:46 +00:00
|
|
|
|
2021-05-21 05:16:07 +00:00
|
|
|
[create]: /docs/commands/volume/create
|
|
|
|
[delete]: /docs/commands/volume/delete
|
2020-03-24 15:09:46 +00:00
|
|
|
[deregister]: /docs/commands/volume/deregister 'Deregister a volume'
|
2020-08-11 14:18:54 +00:00
|
|
|
[detach]: /docs/commands/volume/detach 'Detach a volume'
|
2021-03-12 20:57:49 +00:00
|
|
|
[init]: /docs/commands/volume/init 'Create an example volume specification file'
|
2020-08-11 14:18:54 +00:00
|
|
|
[register]: /docs/commands/volume/register 'Register a volume'
|
2021-05-21 05:16:07 +00:00
|
|
|
[snapshot-create]: /docs/commands/volume/snapshot-create
|
|
|
|
[snapshot-delete]: /docs/commands/volume/snapshot-delete
|
|
|
|
[snapshot-list]: /docs/commands/volume/snapshot-list
|
2020-03-24 15:09:46 +00:00
|
|
|
[status]: /docs/commands/volume/status 'Display status information about a volume'
|