I think that should be “data-root”: “d:\\docker”
Thanks. This migrated the existing MobyLinuxVM to new drive/location!
One has to remember to change the path at two more locations for everything to work smoothly:
- in Hyper-V manager --> Hyper-V Settings… path for virutal hard disks and virtual machines.
- in docker context menu --> settings --> Advanced as well,
before restarting otherwise it creates one again in C: drive.
With these, docker errored out once, restarted machine and now everything is working well out of D: drive. Existing images, migrated in the first step (suggested by matthuisman) are accessible too!