Docker installation issues on Windows 10 Home Edition

后端 未结 7 1548
半阙折子戏
半阙折子戏 2021-02-01 16:20

I am facing problem while installing the Docker on my machine. OS is Windows 10 Home Edition. I want to use Splash and that needs Docker.

相关标签:
7条回答
  • 2021-02-01 16:28

    If you don't want to go the Hyper-V way you can use Docker with WSL2(Windows Subsystem for Linux) for Windows 10 Home.

    1. Go to Settings -> Update&Security -> Windows Insider Program and enroll for the 'Slow' track of windows insider.

    2. Enable WSL from instructions given here https://docs.microsoft.com/en-us/windows/wsl/install-win10

    3. Upgrade to WSL2 from here https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel

    4. Download this version of Docker which supports WSL2 during installation itself : https://download.docker.com/win/stable/Docker%20Desktop%20Installer.exe

    5. Check the boxes to use WSL2 instead of Hyper-V.

    0 讨论(0)
  • 2021-02-01 16:29

    I was able to install Docker on Windows 10 home edition by installing legacy Docker software called Docker toolbox and enabling the virtualization in my systems BIOS. Check this to follow the procedure: Installing Docker on Windows 10 home successfully How to enable virtualization in your systems

    0 讨论(0)
  • 2021-02-01 16:30

    First, check that your PC supports Hyper-V and you have Hyper-V enabled in BIOS. Windows Home does not allows to install some features/packages in GUI, but it's possible to add them from command line.

    Make a file hyperv.bat file and run is at Administrator:

    @rem Install Hyper-V on Windows Home
    pushd "%~dp0"
    dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
    for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
    del hyper-v.txt
    Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
    pause
    

    Reboot computer after that. Then you need to trick the Docker installer to think you have Windows Pro: change your registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion and change EditionID from Core to Professional.

    Instal Docker for Windows, change the registry back. And that's all.

    See also https://xmedeko.blogspot.com/2019/04/running-docker-on-windows-10-home.html

    0 讨论(0)
  • 2021-02-01 16:33
    1. Enable from BIOS
    2. CPU virtualization is allowed only for 1 tool on Windows 10 Home. So, remove any other virtualization tool. So, uncheck even Windows Hypervisor Platform in 'Turn Windows features on and off'
    3. Disable Credential Guard as per https://docs.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage This doesn't happens when the credential helper is run in 'Administrative mode', reason being that running scripts is disabled, we need to enable it So, as per https://winaero.com/blog/change-powershell-execution-policy-windows-10/ Open 'Command Prompt' in 'Administrator' mode and type -

      cd C:\Windows\System32\WindowsPowerShell\v1.0\
      C:\Windows\System32\WindowsPowerShell\v1.0>Powershell.exe -ExecutionPolicy Unrestricted -File E:\software\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1 -Disable -AutoReboot
      

      After this, the system reboots and credential guard is disabled

    0 讨论(0)
  • 2021-02-01 16:40

    If you install the latest Windows 20H1 update you can install Docker Desktop on Windows 10 Home.

    c.f. https://www.codingnagger.com/2020/06/20/install-docker-desktop-on-windows-10/

    0 讨论(0)
  • 2021-02-01 16:43

    Docker Toolbox ( Old Link ): https://www.docker.com/products/docker-toolbox


    Now You can use Docker Toolbox from here: https://docs.docker.com/toolbox/overview/

    Follow these steps to install Docker Toolbox: https://docs.docker.com/toolbox/toolbox_install_windows/#step-3-verify-your-installation

    or:

    https://docs.bitnami.com/containers/how-to/install-docker-in-windows/

    Tutorial For Virtualization : https://www.tutorialspoint.com/windows10/windows10_virtualization.htm

    0 讨论(0)
提交回复
热议问题