I am using Amazon linux AMI in Opsworks and Amazon linux AMI is the latest (Amazon Linux OS 2017.03).
The problem is that this AMI comes with the docker version 17.03.2-ce , however I need to install version 17.05 or later (because I want to change the "entrance" to the "docker role network, which is possible only in the latest docker versions" .
It looks like Amazon officially supports the version only until 03/17.
If I try to update the docker manually from centos rpm / repository, I get the following error (perhaps because I'm in the Redhat flute and docker, it does not seem to support this at the moment):
--> Finished Dependency Resolution
Error: Package: docker-ce-17.06.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
Error: Package: docker-ce-17.06.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: systemd-units
Error: Package: docker-ce-17.06.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: libsystemd.so.0()(64bit)
Error: Package: docker-ce-17.06.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: container-selinux >= 2.9
You could try using --skip-broken to work around the problem
cat / proc / version
Linux version 4.9.43-17.38.amzn1.x86_64 (mockbuild@gobi-build-60008) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) )
Amazon?