Issue
I want to upgrade Docker to v1.8 on Amazon Linux.
At the time of writing their internal yum package repository has: Docker version 1.7.1, build 786b29d/1.7.1
.
Things I have already tried
Manually installing from the Docker project's repo
Error: Package: docker-engine-1.8.2-1.el7.centos.x86_64 (dockerrepo) Requires: systemd-units
Solution
I ended up installing the Amazon Linux docker
package and then overwriting the /usr/bin/docker
binary with the 1.8.2 version binary from: https://docs.docker.com/installation/binaries/.
Not exactly elegant - but all of the dependencies are the same, and seeing as my AMI is immutable the package won't be upgraded on top of the current image.
Answered By - Hzmy