Fedora Atomic Host comes bundled with a version of Docker based on this project atomic repo that moves no faster than the upstream kubernetes project can abide. This means that Fedora Atomic pretty much always ships with an older version of docker than what's available from Docker Inc.
However, through the magic of rpm-ostree package layering, you can replace that older, baked-in docker with the very latest docker-ce. Here's how:
First, grab the repo file for docker-ce.
# cd /etc/yum.repos.d/
# curl -O https://download.docker.com/linux/fedora/docker-ce.repo
Then create a config file to tell docker-ce to use overlay2 storage.
# vi /etc/docker/daemon.json
{
"storage-driver": "overlay2"
}
Then, use rpm-ostree ex override
to remove docker and kubernetes from the image, and use rpm-ostree install
to layer on docker-ce from the configured repo.
# rpm-ostree ex override remove docker docker-common kubernetes kubernetes-node cockpit-docker
# rpm-ostree install docker-ce -r
After the reboot, you'll have the latest docker-ce installed. Knock yourself out with any number of bleeding-edge features!
# docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 17.09.0-ce
Storage Driver: overlay2
...
This worked for me - thanks!
I needed to remove a few additional packages:
rpm-ostree override remove docker docker-common cockpit-docker docker-client docker-client-latest docker-latest docker-lvm-plugin docker-novolume-plugin kubernetes-node
I also needed to specify the version number in docker-ce.repo as yum was not providing this value.