
- #Docker desktop for windows 10 home install
- #Docker desktop for windows 10 home windows 10
- #Docker desktop for windows 10 home windows
#Docker desktop for windows 10 home windows
You should be able to merrily pull windows server images, but not clog up your boot drive. Mklink /j "C:\ProgramData\Docker" "D:\Data\Docker\AppData_Local_Docker" Mklink /j "C:\Users\xxx\AppData\Local\Docker" "D:\Data\Docker\ProgramData_Docker" Right-click on EditionID and Click Modify. :Ĭreate linked folders, by running the below in a command window in administrator mode: In the Registry Editor, go to \HKEYLOCALMACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion. Make sure you have saved what you need.Ĭreate the primary space-eating docker folders, in a location you have a lot of space, e.g. Using the Docker engine advanced settings works in Linux container mode, but not in windows and vice versa and has trouble starting. You cannot migrate it, or move it once installed. WSL2 must be installed in my system disk, which is a small SSD.
#Docker desktop for windows 10 home windows 10
Hyper-V and Containers Windows features must be enabled. Ive just upgraded to Windows 10 Home May 2020, activated WSL2, and installed Docker Desktop.
#Docker desktop for windows 10 home install
Even moving the Docker data folders, would still leave you with a boot drive ProgramData\Docker folder of massive proportions - especially if you are unable or unwilling to clean the images. Windows 10 64-bit: Pro, Enterprise, or Education (Build 17134 or later).For Windows 10 Home, see Install Docker Desktop on Windows Home. You may delete the D:\Docker\wsl\data\docker-desktop-data.tar file (NOT the ext4.vhdx file) if everything looks good for you after verifyingĮxtending Badi 's answer would be to also give the same treatment to the C:\ProgramData\Docker folder, which seems to be used for WSL / Windows Containers. Start the Docker Desktop again and it should work Import the docker-desktop-data back to wsl, but now the ext4.vhdx would reside in different drive/directory: wsl -import docker-desktop-data "D:\Docker\wsl\data" "D:\Docker\wsl\data\docker-desktop-data.tar" -version 2 After installation is completed, open Docker settings and enable distro in resources Settings > Resources > WSL Integration That’s it, you are all set. Unregister docker-desktop-data from wsl, note that after this, your ext4.vhdx file would automatically be removed (so back it up first if you have important existing image/container): wsl -unregister docker-desktop-data Otherwise install the latest Docker Desktop for Windows and select the WSL2-based engine (not legacy Hyper-V) when installing. Install Docker for windows from Docker Hub. You should be able to see, make sure the STATE for both is Stopped.( wsl -shutdown) NAME STATE VERSIONĮxport docker-desktop-data into a file wsl -export docker-desktop-data "D:\Docker\wsl\data\docker-desktop-data.tar" Then, open your command prompt: wsl -list -v %USERPROFILE%\AppData\Local\Docker\wsl\data\ext4.vhdxįollow the following to relocate it to other drive/directory, with all existing docker data preserved (tested against Docker Desktop 2.3.0.4 (46911), and continued to work after updating the 3.1.0 (51484)):įirst, shut down your docker desktop by right click on the Docker Desktop icon and select Quit Docker Desktop The WSL 2 docker-desktop-data vm disk image would normally reside in:
