package
0.0.0-20240626101157-404ae928a86f
Repository: https://github.com/samkhawase/testcontainers-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

deprecated see https://github.com/testcontainers/testcontainers-java/blob/main/core/src/main/java/org/testcontainers/dockerclient/DockerClientConfigUtils.java#L46.
No description provided by the author
ExtractDockerHost Extracts the docker host from the different alternatives, caching the result to avoid unnecessary calculations.
ExtractDockerSocket Extracts the docker socket from the different alternatives, removing the socket schema and caching the result to avoid unnecessary calculations.
No description provided by the author
ExtractRegistry extracts the registry from the image name, using a regular expression to extract the registry from the image name.
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.
IsURL checks if the string is an URL.
IsWindows returns if the current OS is Windows.
NewClient returns a new docker client extracting the docker host from the different alternatives.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
DockerSocketPath is the path to the docker socket under unix systems.
DockerSocketPathWithSchema is the path to the docker socket under unix systems with the unix schema.
DockerSocketSchema is the unix schema.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrTestcontainersHostNotSetInProperties this error is specific to Testcontainers.
No description provided by the author
TCPSchema is the tcp schema.
WindowsDockerSocketPath is the path to the docker socket under windows systems.