Jan Walraven
DevOps



Menu
Categories:
Posted on

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