Public | Automated Build

Last pushed: 3 months ago
Short Description
fabric + jinja2
Full Description

Docker Container for Python Fabric

This is a docker container for Python Fabric. It can be used with
to deploy projects with Fabric fabfile. As this image is build on top of the
Alpine Linux base image its very small at ~50 MB.
The image has Python 2.7.10 installed in it. Fabric version is Fabric 1.8.0
and Paramiko is 1.15.2.

Pull it from docker registry

To pull the docker image you can do it with:

docker pull geshan/fabric-alpine


After pulling the image from docker registry, go into any project that has a
Then run the following commands to run fabric:

docker run --rm -it -v "$PWD:/app" geshan/fabric-alpine fab -l

The above command will list your fabric tasks. You can use the command below to know the fabric version:

docker run --rm -it -v "$PWD:/app" geshan/fabric-alpine fab --version

As an alias

You can even create an alias like below in your .bashrc or .zshrc file depending on your shell:

alias fab='docker run --rm -it -v "$PWD:/app" geshan/fabric-alpine fab'
Docker Pull Command
Source Repository