Put Docker Somewhere Else

P

After a lot of searching and a lot of testing and a lot of failing, I finally got docker to move to the location I wanted it in without it reverting back with the next update

To do this, create or edit the file at /etc/docker/daemon.json and assign the following object property to it.

{
    "graph": "/path/to/directory"
}

Then restart the daemon. So simple but so many posts with methods that did not work. Probably from previous versions of Docker. This works for Docker version 18.06.1.

About the author

iamfrisbee
By iamfrisbee

Follow Me