Initial draft of plugin.
This commit is contained in:
parent
a51b159186
commit
aa70d85bee
17 changed files with 950 additions and 0 deletions
47
README.md
Normal file
47
README.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
# 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) |
|
Loading…
Add table
Add a link
Reference in a new issue