Introduction
If you don't quite get the value of Docker, or as a system admin you are can't let go of your SSH console, start with LXC. After that you might (as I have) turn to like what Docker has to offer.
Latest versus Ubuntu Managed
There are two ways to install Docker on Ubuntu,
Install Method | How To | Pros | Cons |
---|---|---|---|
Ubuntu Managed | See Below |
|
|
Latest Directly from Docker | Docker website | You get the latest and greatest. | More steps. |
As of 2016, recommendation is (investigating)...
Running a Ubuntu Managed install resulted in docker 1.11.2 build b9f10c9 which was submitted on Jun 1 2016.
Running Docker Inside of LXD
...
Install Docker Ubuntu Managed
For latest and greatest use the instructions on the Docker website. For easy of maintenance use Ubuntu native,
sudo apt-get install docker.io # not docker by itself which is a Gnome utility
Verify it worked,
sudo docker run hello-world
Building a Docker Image
...
Orchestration
Looking top down, the real power of Docker can only be realized with orchestration technologies. Here are the leading ones, I am just starting to look at,
Kubernetes - Used by Google and they have a free trial to check out.
Apache Mesos - Twitter, Airbnb, Hubspot and Apple run it.
Docker Swarm - Not sure how this fits yet.
Docker Resources
References
Docker in LXD - https://insights.ubuntu.com/2016/04/13/stephane-graber-lxd-2-0-docker-in-lxd-712/?_ga=1.131249999.1359600858.1459136071