package
1.10.0-rc2
Repository: https://github.com/ianlewis/docker.git
Documentation: pkg.go.dev

# Functions

DisableDebug sets the DEBUG env var to false and makes the logger to log at info level.
DockerInitPath figures out the path of our dockerinit (which may be SelfPath()).
EnableDebug sets the DEBUG env var to true and makes the logger to log at debug level.
ExperimentalBuild is a stub which always returns false for builds that do not include the "experimental" build tag.
GetCallerName introspects the call stack and returns the name of the function `depth` levels down in the stack.
GetErrorMessage returns the human readable message associated with the passed-in error.
IsDebugEnabled checks whether the debug flag is set or not.
ReplaceOrAppendEnvValues returns the defaults with the overrides either replaced by env key or appended to the list.
SelfPath figures out the absolute path of our own binary (if it's still around).
TestDirectory creates a new temporary directory and returns its path.

# Constants

RestrictedNameChars collects the characters allowed to represent a name, normally used to validate container and volume names.

# Variables

RestrictedNamePattern is a regular expression to validate names against the collection of restricted characters.
RestrictedVolumeNamePattern is a regular expression to validate volume names against the collection of restricted characters.