My C drive is running out of space (I’m running Windows in Parallels). How can I put my image files onto a network drive.
I’ve read posts about using Hyper-V Manager to move the VM but it seems to be for the Linux containers and I’m interested in the storage location of my windows containers. These seem to be in C:/ProgramData/Docker. How can I change the location to my Y: network drive?
There is already an issue filed with an acknowledged feature request for the Docker for Windows UI here:
If you follow links and comments in there it looks like the underlying docker daemon already supports moving via e.g. setting "graph": "Y:\\ProgramData\\Docker" in C:\ProgramData\Docker\config\daemon.json. Note the info on moving images safely:
If you want to move already downloaded images, the safest option is probably to docker save them, then change the daemon option, then run docker load. Or you can just download them anew.
Edit: Duh, looks like @friism beat me to it, probably with a more correct answer