Change Docker Storage Driver

Fedora comes with devicemapper as storage driver but there are better options like overlayfs, to change this:

Load the module, and add it to the list of modules to load on boot:

# modprobe overlay
# echo overlay > /etc/modprobe.d/overlayfs.conf

Edit /etc/sysconfig/docker

DOCKER_OPTS="--storage-driver=overlay"

(re)Start Docker

# systemctl restart docker


If you're using a Red Hat derivative you'll also have to disable SELinux on docker in /etc/sysconfig/docker

#change:
OPTIONS='--selinux-enabled --log-driver=journald'
#to
OPTIONS='--log-driver=journald'