ownCloud on Docker + CentOS 7

Docker-shippingLooking for a Canadian-based Dropbox alternative that’s also easy to setup and manage? Look no further. Using the power of Docker as well as Cloud Brewery’s open-source docrane project, we’re going to create a self-healing ownCloud installation, that’s also easy to patch and upgrade. In this tutorial, we’re going to be using CentOS 7 as our Docker host, however you can adapt these instructions for any other Linux distro.

To get started, let’s grab and install Docker:

curl https://get.docker.com | bash
usermod -a -G docker centos

That may take a few minutes to complete. This might be a good time to grab a coffee.

Next up, we’re going to install docrane (and it’s dependencies):

easy_install pip 
yum install -y git libffi-devel gcc python-devel
git clone https://github.com/CloudBrewery/docrane.git
cd docrane && pip install -r requirements.txt && python setup.py install

Read more