Public | Automated Build

Last pushed: 5 days ago
Short Description
This Docker image contains a complete Nikola installation, ready for use.
Full Description

Nikola

This Docker image contains a complete Nikola installation, ready for use.

Two branches are available:

Master, the default one (pulling dragas/nikola), is based on Debian Stretch, Python 3.5 official packages and Nikola has been built via pip3 with [Extras] flag so it's complete. It will be periodically rebuilt to follow Nikola and Debian version updates. Sooner or later, Debian will be abandoned and the alpine branch will be promoted to Master. No difference should be noticed.

Alpine branch (pulling dragas/nikola:alpine) is based on Alpine 3.7, Python 3.6 official packages and Nikola has been built via pip3 with [Extras] flag so it's complete. It will be periodically rebuilt to follow Nikola and Alpine version updates.

Dev branch (pulling dragas/nikola:dev) is based on Alpine 3.7, Python 3.6 official packages and Nikola has been built via pip3 with [Extras] flag by the latest git development branch available at build time. It may be useful to test new features and if you want to stay as current as possible.

About Nikola

Nikola is a static website and blog generator. It supports many input formats. It is fast and reliable. Have a look here.

Quickstart

This section assumes you want to get started quickly, the following sections explain the
steps in more detail. So let's start.

The container has been created with workdir set on /nikola, so any command given should be given keeping in mind this setup.

To initialize a new website, use the following command:

$ docker run --rm -ti -v /yourpath:/nikola dragas/nikola nikola init

Running this command for the first time will download the image automatically. Nikola will ask some questions and prepare its path. The container will then terminate and delete as all Nikola data will be stored in /yourpath

For Nikola usage, please refer to its original documentation: Nikola Handbook

Docker Pull Command
Owner
dragas
Source Repository