Here are some smaller ones for testing:
- Assamese Medical Wikipedia (23 MB)
- English Wikipedia Bollywood Articles (265 MB)
- Simple English Wikipedia w/ No Pictures (159 MB)
# inside the folder where you downloaded the ZIMs (e.g. ~/Downloads)
$ mkdir -p ./dockerized-kiwix-server/zims
$ cp *.zim ./dockerized-kiwix-server/zims
This will create the Linux machine, download the Kiwix tools (including kiwix-serve
), copy the ZIMfiles over, then create the Kiwix library XML file.
$ pwd # -> ./dockerized-kiwix-server
$ docker build -t kiwix-serve .
This starts the container and the Kiwix server, and makes it available on your machine at http://localhost:8080
.
$ docker run -p 8080:8080 kiwix-serve
To turn it off:
$ docker ps # -> find the container id
$ docker stop <container id>
Go to http://localhost:8080.