Use Overlay storage engine on Centos
Posted on December 21, 2016
Enable Overlay storage in kernel
$ sudo tee /etc/modules-load.d/overlay.conf <<-'EOF'
overlay
EOF
Reboot
Verify that OverlayFS is enabled
$ lsmod | grep overlay
overlay
Enable OverlayFS in docker
$ sudod vim /usr/lib/systemd/system/docker.service
/usr/bin/docker daemon -H fd:// --storage-driver=overlay
Restart Docker
$ sudo systemctl restart docker
$ docker info