-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL2 integration not working after enabling #7039
Comments
When you run Once the integration is finished if you still see this message please run This also can happen directly after logging in to Windows and open the Ubuntu terminal before Docker Desktop has started. |
@StefanScherer Thanks for your quick response. That is not the case I am experiencing since I am sure that Docker Desktop itself is fully started before I enter the WSL2 shell. In fact, executing However, one thing worth to mention is that a process The corresponding piece (I think) in the
And these two lines repeat again and again in the logfile. |
Okay, I just found that the problem comes from a fake- |
I had the same problem, and (tentatively) attribute it to having set zsh as the shell for root. I do think docker should be able to deal with 'nonstandard' configurations, or at least give some semblance of an error message if it finds a situation it can not deal with. |
@grebnetiew Seems that docker is only adapted to bash as the default shell. And it is noteworthy that invoking zsh by |
I am having the same issue on ArchWSL, logged in as non-root user belonging to the wheel group ( Any idea how I could solve/troubleshoot it? Using bash: $ ps -p $$
PID TTY TIME CMD
8 pts/0 00:00:00 bash Docker is running and WSL 2 is enabled: Windows 10 version 2004 build |
Uninstalling and re-installing Docker Desktop has fixed the issue. Went through the documentation again an noticed the sentence Ensure you have completed the steps described in the Prerequisites section before installing the Docker Desktop Stable 2.3.0.2 release. I suspect I had previously installed Docker Desktop before WSL 2. |
I have the same problem. I don't see a service that is terminating. Where is that logfile you mentioned? How do I know which is the default shell for |
Right-click Docker's tray icon then click "Troubleshoot". This will generate the logfile.
It is in file The good news is that a new Stable version is released and the developer group claimed this issue is properly fixed (related issue: #7653). You should give it a try :-) |
I actually fixed it by uninstalling the ubuntu app and installing ubuntu
20.04
…On Tue, 28 Jul 2020 at 08:58, Michael Long ***@***.***> wrote:
@chiptus <https://github.com/chiptus>
Where is that logfile you mentioned?
Right-click Docker's tray icon then click "Troubleshoot". This will
generate the logfile.
How do I know which is the default shell for root?
It is in file /etc/passwd.
The good news is that a new Stable version is released and the developer
group claimed this issue is properly fixed (related issue: #7653
<#7653>). You should give it a
try :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7039 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKRKF472FQGCFWPJEUMEDTR5ZSJ5ANCNFSM4NRX4GPA>
.
|
and it's back again 👎 |
I have the following logs:
root default shell is /bin/bash |
This happened to me. I had to uninstall and reinstall docker desktop. I rebooted in between for good measure. I wouldn't be surprised if it happens again... |
Don't need to reinstall it. Open windows shell as admin then go to services, stop docker desktop service restart and voila |
While this solves it when it happens (issuing I am running
|
It might be the WSL2 Ubuntu isn't the default subsystem.
|
Happens to me too. Same scenario. |
you can also check whether the integration is enabled for a specific system under |
Confirm Docker for Windows is running. It wasn't for me. After Docker for Windows is running, execute hash -r. docker now runs in WSL2. |
This helped me! |
This worked for me! |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
B42B54C8-4B54-4F35-B87C-9D27222F0C9C/20200603141639
Expected behavior
The
docker
command in my WSL2 Ubuntu distro should work.Actual behavior
Type
docker
into the shell, then get thenot found
error:Information
10.0.19041.264
2.3.0.3 (Stable)
Steps to reproduce the behavior
Enable integration with my default WSL distro
switch is checkeddocker
.The text was updated successfully, but these errors were encountered: