Documentation ¶
Index ¶
Constants ¶
const DefaultCIDR = "10.87.0.0/16"
DefaultCIDR is the default address range to use for networked containers.
const DefaultName = "dagger"
DefaultName is a short name for the engine's container network. It is used for interface name.
const DomainSuffix = ".dagger.local"
DomainSuffix is an extra domain suffix appended to every session's unique domain. It is used to identify which domains to propagate from a parent session's /etc/resolv.conf to a child (nested Dagger) session's network config so that nested code can reach services in the parent.
Variables ¶
This section is empty.
Functions ¶
func ClientDomain ¶ added in v0.8.0
ClientDomain is a session-global domain suffix appended to every service's hostname. It is randomly generated on the first call.
Ideally we would base this on the Buildkit gateway session ID instead of using global state, but for exporting we actually establish multiple gateway sessions.
func HostHashStr ¶ added in v0.8.0
Types ¶
This section is empty.