Containers
The release workflow publishes one OCI image index for AMD64 and ARM64:
ghcr.io/stianfro/kemuriUse a version tag for a stable deployment:
docker pull ghcr.io/stianfro/kemuri:1.0.0The image runs as a non-root kemuri user. It stores data in /var/lib/kemuri.
Start a container
Create a directory for data and a configuration file:
mkdir -p ./kemuri-dataUse a configuration with these container paths:
version: 1
server:
bind: 0.0.0.0
port: 8080
storage:
path: /var/lib/kemuri/kemuri.dbStart the container:
docker run --name kemuri \
--restart unless-stopped \
--publish 127.0.0.1:8080:8080 \
--volume "$PWD/kemuri.yaml:/etc/kemuri/kemuri.yaml:ro" \
--volume "$PWD/kemuri-data:/var/lib/kemuri" \
ghcr.io/stianfro/kemuri:1.0.0The image has a health check that uses the Kemuri liveness endpoint.
File ownership
The container user must be able to write to the mounted data directory. Set the directory owner to the user ID in the image when your container runtime does not map ownership.
Inspect the image user:
docker image inspect ghcr.io/stianfro/kemuri:1.0.0 \
--format '{{.Config.User}}'ICMP checks
Add NET_RAW only when the configuration has ICMP checks:
docker run --cap-add NET_RAW ...Do not use --privileged.
Test IPv4 and IPv6 loopback checks on the target host before you use external addresses. IPv6 availability depends on the host and container network.
Image metadata
The image includes the package version and source Git revision. The release workflow also publishes build provenance and an SBOM.
Inspect the image index:
docker buildx imagetools inspect ghcr.io/stianfro/kemuri:1.0.0