Question

Docker with Wordpress, Django, OpenVPN on a single server

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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.