Docker with Wordpress, Django, OpenVPN on a single server

Posted December 2, 2016 3.8k views
WordPressDockerDjangoUbuntu 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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]( container with the help of [Docker]( 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.