Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.23 KB

pouch_volume_create.md

File metadata and controls

49 lines (36 loc) · 1.23 KB

pouch volume create

Create a volume

Synopsis

Create a volume in pouchd. It must specify volume's name, size and driver. You can use 'volume driver' to get drivers that pouch support.

pouch volume create [OPTIONS]

Examples

$ pouch volume create -d local -n pouch-volume -o opt.size=100g
Mountpoint:
Name:         pouch-volume
Scope:
CreatedAt:
Driver:       local

Options

  -d, --driver string      Specify volume driver name (default 'local') (default "local")
  -h, --help               help for create
  -l, --label strings      Set labels for volume
  -n, --name string        Specify name for volume
  -o, --option strings     Set volume driver options
  -s, --selector strings   Set volume selectors

Options inherited from parent commands

  -D, --debug              Switch client log level to DEBUG mode
  -H, --host string        Specify connecting address of Pouch CLI (default "unix:///var/run/pouchd.sock")
      --tlscacert string   Specify CA file of TLS
      --tlscert string     Specify cert file of TLS
      --tlskey string      Specify key file of TLS
      --tlsverify          Use TLS and verify remote

SEE ALSO