Documentation
¶
Index ¶
Constants ¶
View Source
const ( LabelBase = "org.testcontainers" LabelLang = LabelBase + ".lang" LabelReaper = LabelBase + ".reaper" LabelSessionID = LabelBase + ".sessionId" LabelVersion = LabelBase + ".version" )
Variables ¶
View Source
var DockerHostContextKey = dockerHostContext("docker_host")
Functions ¶
func DefaultGatewayIP ¶
func ExtractDockerHost ¶
Extracts the docker host from the context, or returns the default value
func InAContainer ¶
func InAContainer() bool
InAContainer returns true if the code is running inside a container See https://github.com/docker/docker/blob/a9fa38b1edf30b23cae3eade0be48b3d4b1de14b/daemon/initlayer/setup_unix.go#L25
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.