github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/docs/commands/volume/deregister.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: volume deregister' 4 sidebar_title: deregister 5 description: | 6 Deregister volumes with CSI plugins. 7 --- 8 9 # Command: volume deregister 10 11 The `volume deregister` command deregisters external storage volumes with 12 Nomad's [Container Storage Interface (CSI)][csi] support. The volume 13 must exist on the remote storage provider before it can be deregistered 14 and used by a task. 15 16 ## Usage 17 18 ```plaintext 19 nomad volume deregister [options] [volume] 20 ``` 21 22 The `volume deregister` command requires a single argument, specifying 23 the ID of volume to be deregistered. Deregistration will fail if the 24 volume is still in use by an allocation or in the process of being 25 unpublished. 26 27 ## General Options 28 29 @include 'general_options.mdx' 30 31 [csi]: https://github.com/container-storage-interface/spec