Windows 10: Using WSL2 with Docker Desktop

Discus and support Using WSL2 with Docker Desktop in Windows 10 Gaming to solve the problem; Up until a couple months ago I was able to use Docker Desktop and WSL2 to run Kubernetes WITHOUT having a Linux distro on my dev system. During that 2... Discussion in 'Windows 10 Gaming' started by gstevens99, Jun 28, 2022.

  1. Using WSL2 with Docker Desktop


    Up until a couple months ago I was able to use Docker Desktop and WSL2 to run Kubernetes WITHOUT having a Linux distro on my dev system. During that 2 month period of time I did not do development of services in K8s and did not even start Docker Desktop.Now I am ready to start developing services that run in K8s which is hosted on Docker Desktop, with no Linux distro just as I did previously. But K8s does not start. No matter what kinds of remedies I try, K8s will not start.I am wondering if something changed and now I need to use a Linux distro? Is this question within the scope of this f

    :)
     
    gstevens99, Jun 28, 2022
    #1

  2. Can't connect to Windows network services from WSL2

    I have Ubuntu 18.04 running in WSL2, from which I want to connect to Docker Desktop running on Windows.

    From cmd.exe I see that Docker service is listening on 127.0.0.1:2375:

    Code:
    C:\Windows\System32>curl 127.0.0.1:2375/info{"ID":"Z2IX:WLIX:FT2V:ZQYY:6222:M6Y6:EGZW:6D2G:EGVY:YABG:VYUM:MB2A","Containers":6,"ContainersRunning":2,"ContainersPaused":0...
    But in WSL2, I got this output by `docker info`:

    `ERROR: Cannot connect to the Docker daemon at tcp://127.0.0.1:2375. Is the docker daemon running?`

    No connection to 127.0.0.1:2375 from WLS2:

    Code:
    $ curl 127.0.0.1:2375curl: (7) Failed to connect to 127.0.0.1 port 2375: Connection refused
    The option "Expose daemon on tcp://localhost:2375 without TLS" is ticked.
     
    Mikhail Batcer, Jun 28, 2022
    #2
  3. Flaviu2 Win User
    WSL2 for windows

    I have failed into installing WSL for Windows. I have read here: https://docs.microsoft.com/en-us/win.../install-win10 how to do it, and at step 4:


    1. Download the latest package:
      [COLOR=var(--text)][COLOR=var(--info-dark)] Note[/COLOR]
      If you're using an ARM64 machine, please download the ARM64 package instead. If you're not sure what kind of machine you have, open Command Prompt or PowerShell and enter: systeminfo | find "System Type".
      [/COLOR]
    2. Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

    I encountered:


    Using WSL2 with Docker Desktop [​IMG]


    and


    Using WSL2 with Docker Desktop [​IMG]


    What I did wrong ? I have the following W10 version:

    Using WSL2 with Docker Desktop [​IMG]


    Another question: am I in the the right forum ?
     
    Flaviu2, Jun 28, 2022
    #3
  4. Using WSL2 with Docker Desktop

    Docker Desktop Installation Failed

    I'm unable to install Docker Desktop 2.3.0.4. Installation failed with message - Installation failed: one prerequisite is not fulfilled. Docker Desktop requires Windows 10 Home (19018+) . I'm using Windows 10 Home and i see it's updated as per regular
    Windows updates. What should be done to fix this error?
     
    Irshad_Nizami, Jun 28, 2022
    #4
Thema:

Using WSL2 with Docker Desktop

Loading...
  1. Using WSL2 with Docker Desktop - Similar Threads - Using WSL2 Docker

  2. WSL2 + Docker Nonpaged pool memory leak

    in Windows 10 Gaming
    WSL2 + Docker Nonpaged pool memory leak: Hello,Running a Nosana Node docker container will slowly fill Non-paged pool at NVRM tag which wont clear after the container/entire wsl is shutdown, I have to reboot my PC for it to clear. They told me it was a WSL issue. I reinstalled WSL multiple times and everything is...
  3. WSL2 + Docker Nonpaged pool memory leak

    in Windows 10 Software and Apps
    WSL2 + Docker Nonpaged pool memory leak: Hello,Running a Nosana Node docker container will slowly fill Non-paged pool at NVRM tag which wont clear after the container/entire wsl is shutdown, I have to reboot my PC for it to clear. They told me it was a WSL issue. I reinstalled WSL multiple times and everything is...
  4. Using WSL2 with Docker Desktop to run a Kubernetes cluster

    in Windows 10 Gaming
    Using WSL2 with Docker Desktop to run a Kubernetes cluster: Up until a couple months ago I was able to use Docker Desktop and WSL2 to run Kubernetes WITHOUT having a Linux distro on my dev system. During the last 2 month period of time I did not do any development of services in K8s and did not even start Docker Desktop.Now I am ready...
  5. Using WSL2 with Docker Desktop to run a Kubernetes cluster

    in Windows 10 Software and Apps
    Using WSL2 with Docker Desktop to run a Kubernetes cluster: Up until a couple months ago I was able to use Docker Desktop and WSL2 to run Kubernetes WITHOUT having a Linux distro on my dev system. During the last 2 month period of time I did not do any development of services in K8s and did not even start Docker Desktop.Now I am ready...
  6. Using WSL2 with Docker Desktop to run a Kubernetes cluster

    in Windows 10 Customization
    Using WSL2 with Docker Desktop to run a Kubernetes cluster: Up until a couple months ago I was able to use Docker Desktop and WSL2 to run Kubernetes WITHOUT having a Linux distro on my dev system. During the last 2 month period of time I did not do any development of services in K8s and did not even start Docker Desktop.Now I am ready...
  7. Using WSL2 with Docker Desktop

    in Windows 10 Software and Apps
    Using WSL2 with Docker Desktop: Up until a couple months ago I was able to use Docker Desktop and WSL2 to run Kubernetes WITHOUT having a Linux distro on my dev system. During that 2 month period of time I did not do development of services in K8s and did not even start Docker Desktop.Now I am ready to...
  8. HYPERVISOR_ERROR, WHEA_UNCORRECTABLE_ERROR with Hyper-V + Docker + WSL2

    in Windows 10 Software and Apps
    HYPERVISOR_ERROR, WHEA_UNCORRECTABLE_ERROR with Hyper-V + Docker + WSL2: I have been having BSODs over the last 3 months or so with the error codes I provided in the title.I use VSCode for coding along with Docker Desktop and WSL2 to run Ubuntu 22. 04. on Windows.I have attached the DxDiag and dump files from the Windows\Minidump folder in the...
  9. Docker on WSL2 Ubuntu 20.04

    in Windows 10 Ask Insider
    Docker on WSL2 Ubuntu 20.04: How can I install docker? I tried $ sudo apt install docker.io Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils The following NEW packages will be...
  10. Accessing tftpd in wsl2 docker container

    in Windows 10 Network and Sharing
    Accessing tftpd in wsl2 docker container: Problem: Connect to tftpd in Docker from WSL2. Client tftp is running inside wsl2 ubuntu Server is tftpd-hpa running inside docker for windows started from wsl2 ubuntu Windows firewall should be irrelevant, however it is also disabled completelty Summary: I can udp...