package
0.9.0
Repository: https://github.com/k0sproject/bootloose.git
Documentation: pkg.go.dev

# Functions

InfoObject is similar to Inspect but deserializes the JSON output to a struct.
ConnectNetwork connects network to container.
ConnectNetworkWithAlias connects network to container adding a network-scoped alias for the container.
ContainerCmder creates a new exec.Cmder against a docker container.
CopyFrom copies the file or dir in the container at srcPath to the host at hostPath.
CopyTo copies the file at hostPath to the container at destPath.
Create creates a container with "docker create", with some error handling it will return the ID of the created container if any, even on error.
GetArchiveTags obtains a list of "repo:tag" docker image tags from a given docker image archive (tarball) path compatible with all known specs: https://github.com/moby/moby/blob/master/image/spec/v1.0.md https://github.com/moby/moby/blob/master/image/spec/v1.1.md https://github.com/moby/moby/blob/master/image/spec/v1.2.md.
Info return system-wide information.
Inspect return low-level information on containers.
InspectObject is similar to Inspect but deserializes the JSON output to a struct.
IsRunning checks if Docker is running properly.
Kill sends the named signal to the container.
Pull pulls an image, retrying up to retries times.
PullIfNotPresent will pull an image if it is not present locally retrying up to retries times it returns true if it attempted to pull, and any errors from pulling.
Run creates a container with "docker run", with some error handling it will return the ID of the created container if any, even on error.
Save saves image to dest, as in `docker save`.
Start starts a container.
Stop stops a container.
UsernsRemap checks if userns-remap is enabled in dockerd.