Expected behavior
I’ve made manual updates to an ec2 instance to upgrade to docker 18.03-ce. I expect the docker --version to remain 18.03 after I restart the ec2 instance.
Actual behavior
After I upgrade the ec2 instance to docker 18.03-ce, everything works as I expect. When i restart the ec2 instance, or if I create an AMI from the instance, and launch a new instance, i’m reverted back to docker 17.03
Additional Information
- EBS backed volume.
- modified file: /lib/systemd/system/docker.service
with the follwoing update: ExecStart=/usr/bin/dockerd -H fd:// -s=overlay2
Steps to reproduce the behavior
- EC2 image created via kops. creating new instance group for worker node: kope.io/k8s-1.9-debian-stretch-amd64-hvm-ebs-2018-03-11
- following steps from here to update docker-ce and nvidia: https://gist.github.com/stevenc81/1cad3a0ebca9303923d1cd4c3641f8bc
- verify
docker --versionis 18.03 - restart ec2 instance
- verify
docker --versionis reverted back to 17.03