Skip to content

Instantly share code, notes, and snippets.

@moyix
Created February 5, 2022 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moyix/8668f411c1dd87a07457b329e3008530 to your computer and use it in GitHub Desktop.
Save moyix/8668f411c1dd87a07457b329e3008530 to your computer and use it in GitHub Desktop.
Minimal config file for running a second instance of Docker with a different storage location
{
"data-root": "/fastdata/docker_img/storage",
"storage-driver": "overlay2",
"hosts": [
"unix:///var/run/docker-nvme.sock"
],
"pidfile": "/var/run/docker-nvme.pid",
"exec-root": "/fastdata/docker_img/run",
"bridge": "docker0",
"iptables": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment