dgbau
By:
dgbau

Docker with Wordpress, Django, OpenVPN on a single server

December 2, 2016 735 views
Docker WordPress Django Ubuntu 16.04

Is it within the intended purpose of docker to serve live installations of Wordpress, OpenVPN, Django, or other apps, each in their own container, on a single droplet?

I'd like to combine some services on a single droplet but use docker to make them easy to spin off to their own droplet someday, not sure if this is the right use of Docker, thanks in advance.

1 Answer

Yes, this is right usage for Docker! =)

This is one of main purposes of Docker. You can look at Docker like a Virtual Machine, it's just much more lightweight, and is much easier to manage once you get into it.

You have many prebuilt images, that will let you run app very fast. You can also build your own images, there are many way to do it like Dockerfile or Docker Compose.

Helpful resources:
Docker image for WordPress.
Docker image for Django.
DigitalOcean - How To Install Wordpress and PhpMyAdmin with Docker Compose on Ubuntu 14.04.
DigitalOcean - How To Run OpenVPN in a Docker Container on Ubuntu 14.04.

DigitalOcean released new Docker tutorials, which are great and should help you to start with it. You can find all Docker tutorials under Docker tag.

If you get into any problem, feel free to ask anything, we'll try to help you.

by Kyle Manna
This tutorial will explain how to set up and run an [OpenVPN](http://openvpn.net/index.php/open-source) container with the help of [Docker](https://docker.com). OpenVPN provides a way to create virtual private networks (VPNs) using TLS (evolution of SSL) encryption. Docker provides a way to encapsulate the OpenVPN server process and configuration data so that it is more easily managed.
Have another answer? Share your knowledge.