mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2026-04-23 18:08:02 +01:00
27 lines
720 B
Markdown
27 lines
720 B
Markdown
Kiwix serve Docker image
|
|
========================
|
|
|
|
With local ZIM file
|
|
-------------------
|
|
|
|
* Download a ZIM file from <https://wiki.kiwix.org/wiki/Content>
|
|
|
|
* Given `wikipedia.zim` resides in `/tmp/zim/`, execute the following:
|
|
|
|
```bash
|
|
docker run -v /tmp/zim:/data -p 8080:80 kiwix/kiwix-serve wikipedia.zim
|
|
```
|
|
|
|
With remote ZIM file
|
|
--------------------
|
|
|
|
```bash
|
|
docker run -e "DOWNLOAD=https://download.kiwix.org/zim/wikipedia_bm_all.zim" -p 8080:80 kiwix/kiwix-serve
|
|
```
|
|
|
|
Screenshots
|
|
-----------
|
|
|
|

|
|

|