47 lines
2.6 KiB
Markdown
47 lines
2.6 KiB
Markdown
# Docker Daemon and CLI for WoodpeckerCI Plugin
|
|
|
|
[](https://hub.docker.com/r/kokuwaio/dockerd)
|
|
[](https://hub.docker.com/r/kokuwaio/dockerd)
|
|
[](https://hub.docker.com/r/kokuwaio/docker-cli)
|
|
[](https://hub.docker.com/r/kokuwaio/docker-cli)
|
|
[](https://git.kokuwa.io/woodpecker/docker/src/branch/main/Dockerfile)
|
|
[](https://git.kokuwa.io/woodpecker/docker/src/branch/main/LICENSE)
|
|
[](https://git.kokuwa.io/woodpecker/docker/pulls)
|
|
[](https://git.kokuwa.io/woodpecker/docker/issues)
|
|
|
|
A [Woodpecker I](https://woodpecker-ci.org) prepared docker daemon and cli.
|
|
Also usable with Gitlab, Github or locally, see examples for usage.
|
|
|
|
## Features
|
|
|
|
- dockerd: with and without rootlesskit
|
|
- dockerd: configures mirror for dockerd
|
|
- cli: with buildkit
|
|
- cli: [variants](https://hub.docker.com/r/kokuwaio/docker-cli/tags):
|
|
- `git`: with git
|
|
- `az`: with Azure CLI
|
|
- `az-git`: with Azure CLI and git
|
|
|
|
## Example
|
|
|
|
```yaml
|
|
services:
|
|
- name: dockerd
|
|
image: kokuwaio/dockerd
|
|
ports: [2375, 8080]
|
|
|
|
steps:
|
|
info:
|
|
image: kokuwaio/docker-cli
|
|
commands: docker info
|
|
```
|
|
|
|
## Settings
|
|
|
|
| Environment | Default | Description |
|
|
| ------------------------- | ------- | ---------------------------------------------------------------------------------- |
|
|
| DOCKERD_PORT | `2375` | Specifies the port to listen on |
|
|
| DOCKERD_SHUTDOWN_TIMEOUT | `0` | Set the default shutdown timeout |
|
|
| DOCKERD_LOG_LEVEL | `none` | Set the [logging level](https://docs.docker.com/reference/cli/dockerd/#log-format) |
|
|
| DOCKERD_REGISTRY_MIRROR | `none` | Specifies a list of registry mirrors. |
|
|
| DOCKERD_INSECURE_REGISTRY | `none | Configure [insecure registry](https://docs.docker.com/reference/cli/dockerd/#insecure-registries) |
|