Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
Runtime implements the Runtime interface with a Docker runtime backend.
Supported environment variables: DOCKER_HOST to set the url to the docker server. DOCKER_API_VERSION to set the version of the API to reach, leave empty for latest. DOCKER_CERT_PATH to load the TLS certificates from. DOCKER_TLS_VERIFY to enable or disable TLS verification, off by default.
func (*Runtime) StartContainer ¶
func (r *Runtime) StartContainer(ctx context.Context, conf *podrick.ContainerConfig) (podrick.Container, error)
StartContainer starts a container with Docker as the backing runtime.
Click to show internal directories.
Click to hide internal directories.