Skip to content
This is the documentation for v0.3. Read the latest.

dicer network create

Create a network.

Usage

$ dicer network create NAME [flags]

Also run as dicer network new.

Flags

FlagDescription
--gateway stringGateway address (default: the first address in the subnet).
--isolatedStop instances on the network reaching each other.
--mtu int32MTU (default: the daemon’s).
--nameservers stringsDNS servers for guests, comma-separated (default: the daemon’s).
--subnet stringSubnet in CIDR notation, e.g. 172.20.0.0/16 (required).

Global flags

FlagDescription
-D, --debugTrace every call to the daemon on stderr (or set $DICER_DEBUG).
-r, --remote stringDaemon to talk to: a remote’s name, or an address (unix:///PATH or HOST:PORT) (default $DICER_REMOTE, then the current remote, then local).
--timeout durationGive up on a call to the daemon after this long, e.g. 30s (0: never; streams such as logs -f and exec are not bounded).