We found that if we manually set up a new CentOS 7 box, then run the script - “https://releases.rancher.com/install-docker/1.10.sh” the box will get set up with docker 1.10.3. So it appears this is happening post docker install, and before the box is “available” in rancher
@Phillip_Ulberg looks like docker machine is running the yum update, which updates docker to 1.11, as soon as the machine comes online. If the CentOS image didn’t come with docker preinstalled, I dont think this issue would exist. Alternately the script could add logic to downgrade docker to the correct version? Regardless, looks like the docker machine install script for CentOS7 that Rancher provides needs some fixing.
Ok…In docker-machine 0.6 the redhat provisioner (and only that one, others work) ignores the engine-install-url option entirely and always just uses the standard get.docker.com one, which gives you whatever happens to be the newest release today (1.11.1). This was fixed in machine 0.7 ( https://github.com/docker/machine/issues/3145 ), but we don’t package that yet.
Thanks for the info. Even if the correct docker version is installed, won’t it just get updated by the yum update cmd at the end of the docker machine provisioning?