TLDR;

UPDATE your Docker apt repo source list if you want to be able to get the latest Docker

We have a yum repo FINALLY for rpms

EVERYONE GETS A DYNAMIC BINARY

Today, we are super excited to announce that we have created and deployed new apt and yum repos for installing Docker. No longer will you apt-get install lxc-docker, a super confusing name considering we no longer use lxc as the default backend for Docker out of the box. Let’s take a deep dive into the awesomeness that is the new repos.

Dynamic Binaries

The old Docker deb installed a fully static Docker binary. This was the simplest way to make Docker installable on a variety of different OS versions without having to deal with dependencies. For those who use Devicemapper as a storage driver, this will allow udev sync to work properly.

Well now everyone gets a dynamic binary!

Updating Apt Sources

We urge everyone to update their apt sources to the new format. We will NOT be pushing new versions to the old apt repository.
We decided not to support two distinct apt repositories forever, hopefully you can understand this decision.

Docker 1.7.1 is already available on the new apt repository, which will ensure a seamless migration.

Now you are all set. When you run apt-get upgrade in the future it will hit the new apt repo.

RPMs and Yum

A huge pain point for people using CentOS, Fedora, or RHEL was having to install the package for docker that is maintained by the distribution itself. Not that there was anything wrong with those packages, but now you can rest assured you will get the latest, greatest Docker installed on your host from our yum repository.

You can easily add our yum repository and install the new docker-engine package by running:

How It All Works

The new repos have versions for all different Debian, Ubuntu, Fedora, CentOS, and Oracle Linux distros. You’re probably thinking: ‘that is a lot of debs and rpms to maintain’. It is, but we made it as simple as possible by using Docker to build them.

Each rpm and deb is built inside a Docker container that’s base is the specific distro version. It’s super convenient and a great way to also always be testing Docker.

kjr

Trey

Vincent

Would really love to see old versions of packages added to this repo. docker-engine-1.7.1 is the only version of docker currently available from the new repo, but it has a gamebreaking bug for us (https://github.com/docker/docker/issues/14738).

Peter

Ditto on keeping older versions; Debian just updated to 1.8.0 an hour ago or so but Ubuntu is still at 1.7.1 so now if I was to bring different boxes up they’d have to have different versions. The files are still here http://apt.dockerproject.org/repo/pool/main/d/docker-engine/ why not leave them in the Packages file so people can stay on a given version for at least a little while?

Mike

It would be nice to abel to install specific versions of docker.
Since the update to 1.8.0 the command:
apt-get install docker-engine=1.7.1~trusty
gives the error:
E: Version ‘1.7.1-0~trusty’ for ‘docker-engine’ was not found
Other versions are also not mentioned in the Packages file of the repo but the deb files for the old versions still exist.