Skip to content
master
Go to file
Code
This branch is 9 commits ahead of jasiek:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

dockerized-kiwix-server

Step 1: Download some ZIM files

FTP site with ZIM files.

Here are some smaller ones for testing:

  1. Assamese Medical Wikipedia (23 MB)
  2. English Wikipedia Bollywood Articles (265 MB)
  3. Simple English Wikipedia w/ No Pictures (159 MB)

Step 2: Move the ZIM files to the 'zim' directory

# inside the folder where you downloaded the ZIMs (e.g. ~/Downloads)
$ mkdir -p ./dockerized-kiwix-server/zims
$ cp *.zim ./dockerized-kiwix-server/zims

Step 3: Build the Docker container

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 .

Step 4: Run the container

This starts the container and the Kiwix server, and makes it available on your machine at http://localhost:8080.

$ docker run -d --name kiwix-serve -p 8080:8080 kiwix-serve

To turn it off:

$ docker stop $(docker ps -qf "name=kiwix-serve")

Step 5: Try it out in the browser

Go to http://localhost:8080.

About

Your own wikipedia server in a box.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.