Documentation ¶
Overview ¶
Package bridge provides Docker “bridge”-driver specific network configuration options. Please see also the Docker bridge driver documentation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBridgeName ¶
WithBridgeName instructs the “bridge” driver to use a pre-created or create a Linux kernel bridge with the specified name. If left unset, the “bridge” driver will automatically create a Linux kernel bridge with a name in “br-XXXXXXXXXXXX” format, where XXXXXXXXXXXX are taken from the first 12 hex digits of the Docker network ID.
See also: Docker's Bridge network driver options.
func WithInterfacePrefix ¶
WithInterfacePrefix sets the prefix to use for names of the container network interfaces attached to this custom Docker network. Defaults to “eth” prefix when left unset.
See also: Docker's Bridge network driver options.
func WithoutICC ¶
WithoutICC disabled inter-container communication on this custom Docker network.
See also: Docker's Bridge network driver options.
func WithoutIPMasquerade ¶
WithoutIPMasquerade disables IP masquerading for this custom Docker network.
See also: Docker's Bridge network driver options.
Types ¶
This section is empty.