Skip to main content

Module docker

Module docker 

Source
Expand description

Docker and Docker Compose interaction.

Functionsยง

compose_output
Run docker compose <args> and capture output.
compose_run
Run docker compose <args> with stdout/stderr inherited (streaming).
docker_output
Run docker <args> and capture output.
docker_run
Run docker <args> with streaming output.
has_docker
Check whether Docker is available and the daemon is running.
image_exists
Check whether a Docker image exists locally.