Skip to content
This is the documentation for main, which is not released yet. 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).
--internalStop instances on the network reaching anything beyond it: the outside, other networks, the host and upstream DNS.
--isolatedStop instances on the network reaching each other.
--mtu intMTU (default: the daemon’s).
--nameservers stringsUpstream DNS servers, asked about names other than the network’s instances’, 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).
--request-timeout durationGive up on a single call to the daemon after this long, e.g. 30s (0: never; streams such as logs -f and exec are not bounded).