woodpecker/docs/docs/30-administration/22-backends/10-docker.md
2022-05-07 14:19:28 +02:00

869 B

Docker backend

This is the original backend used with Woodpecker. The docker backend executes each step inside a separate container started on the agent.

Configuration

WOODPECKER_BACKEND_DOCKER_NETWORK

Default: empty

Set to the name of an existing network which will be attached to all your pipeline containers (steps). Please be careful as this allows the containers of different pipelines to access each other!

WOODPECKER_BACKEND_DOCKER_ENABLE_IPV6

Default: false

Enable IPv6 for the networks used by pipeline containers (steps). Make sure you configured your docker daemon to support IPv6.

Podman support

While the agent was developped with Docker/Moby, Podman can also be used by setting the environment variable DOCKER_SOCK to point to the podman socket. In order to work without workarounds, Podman 4.0 (or above) is required.