Skip to main content

Module docker

Module docker 

Source
Expand description

Docker/Podman runtime backend.

Connects to the Docker Engine API via the local socket (Unix: /var/run/docker.sock, Windows: //./pipe/docker_engine). Podman exposes a Docker-compatible API on a different socket path.

Structs§

DockerBackend
Docker/Podman runtime backend.

Functions§

is_docker_available
Check if a Docker-compatible socket is available.
is_podman_available
Check if Podman is available.