Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.55 KB

pouch_network_create.md

File metadata and controls

50 lines (37 loc) · 1.55 KB

pouch network create

Create a pouch network

Synopsis

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

pouch network create [OPTIONS] [NAME]

Examples

$ pouch network create -n pouchnet -d bridge --gateway 192.168.1.1 --subnet 192.168.1.0/24
pouchnet: e1d541722d68dc5d133cca9e7bd8fd9338603e1763096c8e853522b60d11f7b9

Options

  -d, --driver string        the driver of network (default "bridge")
      --enable-ipv6          enable ipv6 network
      --gateway string       the gateway of network
  -h, --help                 help for create
      --ip-range string      the range of network's ip
      --ipam-driver string   the ipam driver of network (default "default")
      --ipam-opt strings     the ipam driver options of network
  -l, --label strings        create network with labels
  -n, --name string          the name of network
  -o, --option strings       create network with options
      --subnet string        the subnet of network

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