mirror of
https://github.com/daeuniverse/honk.git
synced 2026-12-06 08:02:27 +00:00
* feat(docker): add an image built from the release archives * feat(release): push docker images when a release is published * docs(install): describe running honk with docker * fix(pr-403): build images for published prereleases * fix(pr-403): share the host instance lock with containers * docs(pr-403): expose external kernel BTF to containers * fix(pr-403): serialize manual and release image publication * refactor(pr-403): use the canonical release repository * docs(pr-403): trim redundant container build comments * docs(pr-403): record Docker Hub publication prerequisites * feat(docker): publish the image to ghcr.io instead of Docker Hub * feat(docker): ship iproute2 and nftables in the image --------- Co-authored-by: eries <coloredflowers@outlook.com>
22 lines
566 B
YAML
22 lines
566 B
YAML
services:
|
|
honk:
|
|
image: ghcr.io/daeuniverse/honk:${HONK_VERSION:?set HONK_VERSION to a release version without v, such as 0.1.0-beta.4}
|
|
build:
|
|
context: .
|
|
args:
|
|
HONK_VERSION: ${HONK_VERSION}
|
|
privileged: true
|
|
network_mode: host
|
|
pid: host
|
|
restart: unless-stopped
|
|
stop_grace_period: 30s
|
|
volumes:
|
|
- /sys:/sys
|
|
- /etc/honk:/etc/honk
|
|
- /var/lib/honk:/var/lib/honk
|
|
- type: bind
|
|
source: /run/honk-core.lock
|
|
target: /run/honk-core.lock
|
|
bind:
|
|
create_host_path: false
|