»Command: volume init

The volume init command is used to create an example volume specification file that can be used as a starting point to customize further.


nomad volume init

»Init Options

  • -json: Create an example JSON volume specification.


Create an example volume specification:

$ nomad volume init
Example volume specification written to volume.hcl