Using Docker to deploy Apache, Nginx, Wordpress and Nodejs containers with Digital Ocean

Using Docker to deploy Apache, Nginx, WordPress and Nodejs containers with Digital Ocean


shared hosting docker

Daily Webdev Newsletter:

Premium and FREE Courses:

$100 DigitalOcean hosting coupon:

Like my videos and tutorials? Consider donating:

Article:

In this tutorial, we will walk through how to quickly create containers to run Apache, Nginx, WordPress and Nodejs servers all on a single $5/month Digital Ocean droplet!

Code Repo:

We will get our hands dirty by quickly creating containers to run Apache, Nginx, WordPress and Nodejs servers all on a single $5/month Digital Ocean droplet!

FOLLOW US:
Twitter:
Facebook:
Repo:
Don’t forget to subscribe! Really appreciate it!

$10 DigitalOcean hosting coupon:
Best Shared hosting:

Premium Courses: (
ES6 for Everyone — The best way to learn modern ES6 JavaScript (
Sublime Text Power User Book (
React For Beginners (

27 thoughts on “Using Docker to deploy Apache, Nginx, WordPress and Nodejs containers with Digital Ocean

  1. Well I expected to see a video about running nginx as a proxy for apache which would serve wordpress and node.js. But you just show how to basically serve 4 different services in 4 different containers. No interaction. That is the challenge !

  2. Disastrous. There is an enormous army of people filming themselves installing WordPress into Docker. They are all vary proud to get to the initial WordPress screen, but they all share the same bug. You can't upload any plugins or themes larger than 2 meg, which makes the installation completely useless. There is no fix for this and there are no videos showing a functioning WordPress site in Docker. I think this will actually destroy the market for Docker. Bummer.

  3. Hi, cool staff, but my question is >
    why you don't use docker-compose?
    is there some possibilities to make local environment like LAMP based on Docker.

    Because, now i put docker-compose.yml to each project and do docker-compose up.
    Can you tell how much better organize development environment with Docker on Ubuntu 16.04?
    Some links or whatever…

  4. Hi, thanks for your tut. I would like to know how to mount volumes between host and the container?
    docker run -p 3000:3000 -v /home/kartik/nodeapp/app.js:/usr/src/nodeapp /app.js kartikajas/nodeapp
    the above code mounts the volume but doesnt change the display until i stop the container and run it again. please tell how to exit from the console. ctrl +p and ctrl + q or ctrl c do not exit from the console.

  5. Thanks for the Video. It really helpful.

    Inline with Docker capabilities, we have also developed a Docker container and Kubernetes based Visual Studio Extension that help you build .NET apps using S2I’s and templates and deploy it to Red Hat OpenShift PaaS.

    Download and Try Click2Cloud's Docker Container & Kubernetes based Visual Studio Extension for Red Hat OpenShift – https://visualstudiogallery.msdn.microsoft.com/9a5b8b19-dadf-4b46-8712-527303d32231 or http://www.register.click2cloud.net

  6. Ok, say you created a wordpress container, configure it, start writing blog posts… all that gets saved in the docker wordpress container (NOT the wordpress image). If you were to delete the docker wordpress container, I am guessing you have deleted everything (configs, blogposts, etc). What's the right way to do things here? Save the docker container to the image everytime you make a blog post? That doesn't seem right either.

Leave a Reply

Your email address will not be published. Required fields are marked *