Skip to content

Instantly share code, notes, and snippets.

@nicovillanueva
Last active March 31, 2017 15:14
Show Gist options
  • Save nicovillanueva/f2f06a6fdd39efc2d95865b7b9ae564c to your computer and use it in GitHub Desktop.
Save nicovillanueva/f2f06a6fdd39efc2d95865b7b9ae564c to your computer and use it in GitHub Desktop.

How to change the default values for Docker in different distros Usually, to change the storage driver

CentOS

sudo vim /etc/sysconfig/docker
sudo systemctl restart docker

Debian-based

sudo vim /etc/default/docker
sudo systemctl restart docker || sudo service docker restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment