Skip to main content

Module docker

Module docker 

Source
Expand description

Runner containers through the Docker Engine API: the connection, container, volume and image requests, and the DockerApi trait the engine and the caches call. It decides nothing about scheduling, and a JIT config only ever reaches a container as a root-only file, never the create request or a log line.

Structs§

Container
A container list found.
Docker
The local Docker Engine.
Image
An image images found.
JitConfig
A runner’s just-in-time config from GitHub: credentials, never printed.
RunnerSpec
One runner container: a profile’s image stage with the profile’s limits.
RunnerState
What inspect reports about a runner container.
TaggedImage
An image tagged_images found.
Tty
A container’s terminal, attached once it was created and before it started, so none of its output is missed.
TtySize
A terminal’s size.

Enums§

Error
Generic Docker errors

Constants§

JIT_CONFIG_PATH
Where start puts the just-in-time config in the container: a root-only file, never the create request, which Docker stores and clients may log.

Traits§

DockerApi
The Docker Engine calls the scheduler and the caches make. Docker is the real one; the engine’s tests use a fake.

Functions§

create_body
The create-container request for a runner container under an isolation backend.
is_not_found
Whether a Docker error says the container, volume or image does not exist.

Type Aliases§

Output
What a command run in a container prints on stdout, as it prints it.