Roman Cheplyaka

Docker configuration on Fedora

August 18, 2016

If you need to change the docker daemon options on Fedora, take a look at these files:

# ls /etc/sysconfig/docker*

In my case, I needed to change the container base size, so I put the following in /etc/sysconfig/docker-storage:

DOCKER_STORAGE_OPTIONS="--storage-opt dm.basesize=20G"

These files are then sourced in /etc/systemd/system/, and the variables (such as DOCKER_STORAGE_OPTIONS) are passed to the docker daemon.