# Docker container

This installation procedure assumes you have already installed a working docker (see `http://docker.io`) environment.

Docker is a lightweight Jail (currently using LXC) that allows you to install and run publican without installing your main Linux installation with all its dependencies.

1. Open a terminal.

2. Download and install the svendowideit/publican container from `https://index.docker.io/u/svendowideit/publican/`:

       $ docker pull svendowideit/publican

   This will take some time, as it downloads a fedora based container, and then the dependencies needed for publican

3. Add a publican bash alias to simplify your usage:

       $ echo 'alias publican="docker run -t -i -v $(pwd):/mnt svendowideit/publican"' >> ~/.bashrc

   This alias assumes that you are running publican in the documentation root directory (the one with the publican.cfg file in it.

4. now you can use publican as per the documentation:

       $ publican --version
       version=3.2.1