Upgrading Docker in Amazon linux AMI to 1.11.1

The docker version in my amazon linux is 1.9.1 and I want to upgrade it to 1.11.1.
But yum update doesn’t upgrade the docker version and it still at 1.9.1.

$ uname -a
Linux ip-10-215-0-163 4.4.5-15.26.amzn1.x86_64 #1 SMP Wed Mar 16 17:15:34 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ docker info
Containers: 4
Images: 9
Server Version: 1.9.1
Storage Driver: devicemapper
 Pool Name: docker-202:1-263639-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem:
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 6.489 GB
 Data Space Total: 107.4 GB
 Data Space Available: 12.69 GB
 Metadata Space Used: 4.444 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.143 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.4.5-15.26.amzn1.x86_64
Operating System: Amazon Linux AMI 2016.03
CPUs: 1
Total Memory: 3.679 GiB
Name: ip-10-215-0-163

  • Development workflow for a Clojure webapp with Docker
  • How to use docker logs
  • Run war with tomcat in docker
  • Mesos + Docker, do I automatically get the benefits of Mesos HA, etc.?
  • Limit USB devices exposed to docker
  • How to wait for an etcd variable is set before starting the unit/service
  • docker tool box docker build behind proxy is not working in windows
  • docker the docker registry (a private installation of it) use https (tls/ssl)
  • Docker : find sendmail in other container
  • python2 interpreter in Docker does not support remote project creation with PyCharm
  • When does the docker volume become available for CMD script?
  • Jenkins Docker plugin is showing offline
  • One Solution collect form web for “Upgrading Docker in Amazon linux AMI to 1.11.1”

    If you are just using yum update, it won’t work, because it will only look at the amazon yum repositories that they have setup. You will need to install a yum repo that has a newer version of Docker. I recommend going to the official Docker yum repository to get your Docker packages.

    These directions are for CentOS, but they should work for Amazon linux, since they are both RedHat derivatives.


    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.