123
This commit is contained in:
parent
7db99e0fa6
commit
eae3ffd86a
4 changed files with 68 additions and 85 deletions
43
.github/README.md
vendored
Normal file
43
.github/README.md
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Docker Daemon WoodpeckerCI Plugin
|
||||
|
||||
[](https://hub.docker.com/r/kokuwaio/dockerd)
|
||||
[](https://hub.docker.com/r/kokuwaio/dockerd)
|
||||
[](https://git.kokuwa.io/woodpecker/dockerd/src/branch/main/Dockerfile)
|
||||
[](https://git.kokuwa.io/woodpecker/dockerd/src/branch/main/LICENSE)
|
||||
[](https://git.kokuwa.io/woodpecker/dockerd/pulls)
|
||||
[](https://git.kokuwa.io/woodpecker/dockerd/issues)
|
||||
|
||||
A [Woodpecker I](https://woodpecker-ci.org) prepared docker daemon.
|
||||
Also usable with Gitlab, Github or locally, see examples for usage.
|
||||
|
||||
## Features
|
||||
|
||||
- includes rootless
|
||||
- configures mirror for dockerd
|
||||
|
||||
## Example
|
||||
|
||||
```yaml
|
||||
|
||||
services:
|
||||
- name: dockerd
|
||||
image: kokuwaio/dockerd
|
||||
ports: [2375, 8080]
|
||||
|
||||
steps:
|
||||
info:
|
||||
image: kokuwaio/docker-cli
|
||||
commands: docker info
|
||||
environment:
|
||||
DOCKER_HOST: tcp://dockerd:2375
|
||||
```
|
||||
|
||||
## 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) |
|
Loading…
Add table
Add a link
Reference in a new issue