You are reading documentation for bouine v0.4.x — not the latest version. View latest →

Run the official image

docker run --rm \
  -p 8080:80 \
  -p 9000:9000 \
  bouinecache/bouine:latest

Mount a config file

docker run --rm \
  -p 8080:80 \
  -p 9000:9000 \
  -v "$PWD/config.yaml:/etc/bouine/config.yaml:ro" \
  bouinecache/bouine:latest

Build locally

On Apple Silicon targeting a Linux amd64 cluster:

docker buildx build --platform linux/amd64 \
  -t bouinecache/bouine:latest \
  --push .

For local testing on your machine:

docker build -t bouine:dev .
docker run --rm -p 8080:80 -p 9000:9000 bouine:dev

The Dockerfile uses BUILDPLATFORM/TARGETARCH so Go cross-compiles natively instead of running the compiler under QEMU.