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

Docker - Run Containers On The Same Host & Port

It used to take quite a bit of effort to run two containers that want to use the same public port on the same host. However, now it's quite simple, as long as your host has multiple IP addresses. If you don't have multiple IP addresses assigned to the host…

Read this article

CentOS 7 - Install Docker

Below is a script to run as a sudo user to install Docker on CentOS 7. Even though CentOS 7 runs kernel 3.10, it manages to scrape by with supporting docker. I have a feeling that even after Docker increases its minimum kernel requirements, CentOS will still be supported…

Read this article