kiwix-tools/docker/server
2025-12-01 09:38:29 +00:00
..
pictures New kiwix-serve screenshots 2019-08-27 16:37:22 +02:00
docker-compose.yml.example Update docker-compose.yml to use ghcr.io image 2023-04-28 15:01:05 -04:00
Dockerfile Use explicit UID/GID and show them in error message 2025-12-01 09:38:29 +00:00
README.md Dedicated Docker Compose section 2023-08-13 09:38:59 +02:00
start.sh Use explicit UID/GID and show them in error message 2025-12-01 09:38:29 +00:00

Kiwix serve Docker image

With local ZIM file(s)

docker run -v /tmp/zim:/data -p 8080:8080 ghcr.io/kiwix/kiwix-serve wikipedia.zim wiktionary.zim

or, if you want to load all ZIM files within a directory, then use globbing:

docker run -v /tmp/zim:/data -p 8080:8080 ghcr.io/kiwix/kiwix-serve '*.zim'

With remote ZIM file

docker run -e "DOWNLOAD=https://download.kiwix.org/zim/wikipedia_bm_all.zim" -p 8080:8080 ghcr.io/kiwix/kiwix-serve

Change default port

You can change port to expose with environment variable PORT, useful if running on Podman, K8s or OpenShift

podman run -e "DOWNLOAD=https://download.kiwix.org/zim/wikipedia_bm_all.zim" -e PORT=8888 -p 8080:8888 ghcr.io/kiwix/kiwix-serve

ARM

Build an image for an ARM based GNU/Linux:

docker build . -t ghcr.io/kiwix/kiwix-serve:latest --build-arg ARCH="arm32v7/"

Docker Compose

You can also deploy kiwix with docker-compose. Check out a sample at docker-compose.yml.example.

Screenshots

screenshot_1.png screenshot_2.png