Deploy Rancher On Ubuntu 16.04

Rancher is a powerful web-based management tool for managing docker containers across any number of docker hosts. The best part is that it is simple to deploy through docker as I will show you below. Visit the Rancher website or their Vimeo page for more info about Rancher. Requirements Rancher…

Read this article

Static Web Hosting With Nginx And Docker

If you need to host some static content online, then you can do this incredibly easily with the pre-prepared official NGINX docker image. Steps Install docker on your server if you haven't already. Navigate to just above the folder that contains your site. For this tutorial, I will refer to…

Read this article

Fix For My Docker Install Issue

I haven't been able to install docker on my Ubuntu desktops until now because I kept getting an error. As a workaround, I would do all my builds in a virtual machine. However I now finally have the solution that worked for me. Turn off your VPN before running the…

Read this article

Docker Within Docker

In case you ever need to run docker within docker, here is an example Dockerfile that does just that. FROM ubuntu:16.04 RUN apt-get update RUN apt-get install -y \ apt-transport-https ca-certificates RUN apt-key adv \ --keyserver hkp://p80.pool.sks-keyservers.net:80 \ --recv-keys 58118E89F3A912897C070ADBF76221572C52609D RUN echo "deb https://apt.dockerproject.…

Read this article

Docker Swarm Cheatsheet

Cluster Status Use the following command to get the status of a cluster. This can only be run from a manager node. docker node ls This node is the "primary" manager that actually manages the cluster. The other managers are replicas there for redundancy. This node is "drained" meaning that…

Read this article

Using Traefik with Docker Swarm For Deploying Web Applications

This tutorial will show you how to get started with deploying web applications on a docker swarm cluster with Traefik. Traefik allows us to deploy multiple web applications that each "want" to be accessed on port 80/443, on the same host. It's latest support for docker swarm takes this…

Read this article

Docker Swarm Post 1.12

Docker 1.12 integrates the swarm technology into the engine, so things have changed (for the better) since we last deployed a deployed a docker swarm. This tutorial will: Deploy a swarm Demonstrate how to deploy an application to the swarm Demonstrate scaling up the application. Demonstrate the load balancing…

Read this article

Deploy Wordpress through Docker

It's now easier than ever to deploy Wordpress through docker. The tutorial below will allow you to deploy Wordpress, but unlike other tutorials, it will use volumes in order to persist your plugins, themes, and database across containers being destroyed/replaced. Everything is containerized so if you decide to move…

Read this article

Ubuntu - Reverse Proxy Dockerized Websites

Problem You have converted your websites to use docker, but want to run them all on a single VPS to save money or get better performance by using a single large instance rather than lots of small ones. Using a single instance restricts you to having just one public IP,…

Read this article

Ubuntu 16.04 - Install Docker

Install Using PPA Using a PPA will allow you to always use the latest version of Docker without waiting on the Ubuntu package maintainers. Normally I would recommend installing from the Ubuntu Repos, but with docker this method is what I recommend. Docker will not start correctly if you are…

Read this article