Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Laxman-SM/b6d16e49395a4e8bfec957d7894fc3ef to your computer and use it in GitHub Desktop.
Save Laxman-SM/b6d16e49395a4e8bfec957d7894fc3ef to your computer and use it in GitHub Desktop.
Configure systemd to use overlay file system for Docker
sudo mkdir /etc/systemd/system/docker.service.d
sudo bash -c 'cat <<EOF > /etc/systemd/system/docker.service.d/overlay.conf
[Service]
ExecStart=
ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay
EOF'
sudo systemctl daemon-reload
sudo systemctl restart docker
@Laxman-SM
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment