Knowledge Base

Find answers to common questions about Cloudmersive products and services.



Change Docker to Store Data on the D Drive
11/2/2026 - Cloudmersive Support


To change Docker on Windows Server and Windows to store container images on the D: drive, run this command:

$p="$env:ProgramData\docker\config\daemon.json"; New-Item -ItemType Directory -Force -Path (Split-Path $p),"D:\docker-data" | Out-Null; $c=if(Test-Path $p){Get-Content $p -Raw | ConvertFrom-Json}else{New-Object PSObject}; $c | Add-Member -NotePropertyName "data-root" -NotePropertyValue "D:\docker-data" -Force; $c | ConvertTo-Json -Depth 20 | Set-Content $p -Encoding UTF8; Restart-Service docker

600 free API calls/month, with no expiration

Sign Up Now or Sign in with Google    Sign in with Microsoft

Questions? We'll be your guide.

Contact Sales