package
Version:
v0.8.1
Opens a new window with list of versions in this module.
Published: Nov 16, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package netmode is the container network-mode vocabulary.
Mode is Engine NetworkMode / Compose network_mode.
const (
Bridge Mode = "bridge"
Host Mode = "host"
None Mode = "none"
Default Mode = "default"
)
All returns the fixed network modes (not container:/service: forms).
Container uses another container's network namespace.
Service uses a Compose service's network namespace.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.