rss
Change the Image Directory for the Docker Daemon

How to Change the Image Directory for the Docker Daemon

I have spent quite a bit of time chasing after my own tail on this one. In any case, might as well turn it back into something good.

So, I have a machine partially dedicated to learning more about Artificial Intelligence, more specifically Deep Learning.

The ways it didn’t work

I found instructions elsewhere suggesting I’d try to edit

/etc/docker/daemon.json

as well as

/etc/default/docker

The former was in the official docs, but it didn’t work. I’ve also tried editing the latter using the

-g flag

as well as

–data-root flag

And here the latter was the one which solved it.

So that’s how it worked

Thought I might share it!