Install ownCloud on Ubuntu 14.04 Using Docker

This article was written based on the exact step-by-step process used to create an ownCloud Server using Ubuntu 14.04 with Docker from a new 512MB Cloud Instance from Codero Hosting. Each step is documented starting from the initial log into the server.

Requirements:
SSH root access to the server.
Use of Nano text editor.

Update Ubuntu

apt-get -y update

As of 04-15-2016, the installed version of Docker is unsupported and must be updated.

apt-get -y upgrade

Edit the firewall to allow forwarding traffic required by oneCloud

nano /etc/default/ufw

Scroll down and change DEFAULT_FORWARD_POLICY to “ACCEPT”

#DEFAULT_FORWARD_POLICY="DROP"
DEFAULT_FORWARD_POLICY="ACCEPT"

Save and exit the file.
*the firewall should not be running yet, so we’ll leave it off for now.

Install ownCloud
Search Docker for the official ownCloud image

docker search owncloud
NAME                       DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
owncloud                   ownCloud is a self-hosted file sync and sh...   298       [OK]       
l3iggs/owncloud            The very latest ownCloud server release, a...   103                  [OK]
jchaney/owncloud           ownCloud 7 on Nginx                             48                   [OK]
pschmitt/owncloud          Reasonably configurable Docker image for t...   15                   [OK]
...

“Pull” the image to your server

docker pull owncloud

The ownCloud software will download from several sources. This may take a couple of minutes.

Verify the install was successful by checking the installed images

docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
owncloud            latest              e828d0139177        3 days ago          698.2 MB

Comments

So empty here ... leave a comment!

Leave a Reply

Sidebar