This setting has moved many times during desktop and windows five year's marriage, from graph:
to data-root
to GUI's advanced settings section and counting.
Not sure if one of this is still working, but probably no, because in later versions this setting can be found in a different place.
It is dataFolder
property in settings.json within %AppData%RoamingDocker
folder.
For instance
"dataFolder": "C:\ProgramData\DockerDesktop\vm-data"
I tested it working:
- in Windows 10
- with a recent version of Docker Desktop (>3.0.0)
- with both Hyper-V and WSL2
- with Linux containers
Actually this settings relocate the VM file associated with docker, moving "images and containers" but also volumes and other things.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…