Comments (46)
I've encountered the same problem @lukethegeek after updating to build 75084.
Update: Just done due to another issue a wsl --shutdown
and then from nothing the GUI appeared and the tray-icon as well. Using the new build 75084.
from for-win.
There is a follow-up ticket #12622 that we're looking into right now.
Some users here might had the same issue, who used the workaround to set the docker-desktop
distro as default WSL2 distro.
In the meantime to be able to set another WSL2 distro as default, you could just create an empty file in the Windows users home directory .kube\config
until we ship a fix for it.
from for-win.
@trungutt yes, those exact steps and outcomes.
Also yes, despite there being no GUI / whale icon, Docker appears to be running and I am able to interact with docker on the command line - both in powershell and a WSL2 Ubuntu shell. I just tested spinning up a mongo server & mongo express web interface via docker-compose and it's all working correctly, containers are displayed in the output of docker ps
.
from for-win.
i believe i fixed this by uninstalling ubuntu 20.04 LTS for wsl and installing it, and now it works. This tells me that the original 4.5.1 and the build 75084 does not have issues, but could be that a misconfiguration or something for wsl.
from for-win.
It's also happening from 4.4.4 to 4.5.0. The workaround is mentioned in the blog post https://www.docker.com/blog/new-docker-menu-improved-release-highlights-with-docker-desktop-4-5/.
Just quit Docker Desktop, then add a features-overrides.json
file with the following content:
{
"WhaleMenuRedesign": {
"enabled": false
}
}
Depending on your operating system, you will need to place this file in one of the following location:
On Mac: ~/Library/Group Containers/group.com.docker/features-overrides.json
On Windows: %APPDATA%\Docker\features-overrides.json
But for me, the problem is not only the tray icon, also the Electron GUI is not visible, and in the logs it mentioned, that it's running... The tray icon is now visible, after doing the workaround.
Greets
Adrian
from for-win.
@trungutt unfortunately it's the same result with build 75084
Docker is running in the task manager, but no GUI or systray icon.
from for-win.
Hi @trungutt
Using the build mentioned in #12573 (comment) it didn't show up after a restart. Running wsl --setdefault docker-desktop
after the update and restarting my machine worked (rebooted twice and interacted with containers between)! Therefore, I'll close the issue #12575.
Thanks for all your efforts,
Adrian
from for-win.
I have the same problem after upgrading Docker Desktop for Windows to version 4.5.1 (74721), the tray icon is missing.
After closing the main window Docker Desktop keeps running in the background without a way to properly close it.
from for-win.
I can confirm this. It started happening right after updating from v4.4.4
to v4.5.1
.
from for-win.
Thanks for reporting! Could you please upload the diagnostics?
from for-win.
As noted in my initial report, the menu was working fine in 4.5.0. It only went away with 4.5.1, which funnily mentions in the release notes "Fixed a crash in the Docker Dashboard which would make the systray menu disappear."
That is a different problem if your GUI is not showing up at all, and your workaround does not work for this problem.
from for-win.
@gpettey To help us debugging the problem, could you please upload the diagnostics? The instruction is here https://docs.docker.com/desktop/windows/troubleshoot/#diagnosing-from-the-terminal
from for-win.
I gathered and uploaded the diagnostics, following the instructions mentioned above.
FYI: The first time I ran the diagnostics Docker Desktop was not running (Diagnostics ID: 94D542C3-4A05-4388-8403-DE4DF728F17F/20220223081905), so I ran the diagnostics a second time with Docker Desktop running (Diagnostics ID: 94D542C3-4A05-4388-8403-DE4DF728F17F/20220223082631).
from for-win.
It's also happening from 4.4.4 to 4.5.0. The workaround is mentioned in the blog post https://www.docker.com/blog/new-docker-menu-improved-release-highlights-with-docker-desktop-4-5/.
The workaround fixes the problem of the missing tray icon in my case also.
from for-win.
Hello I can confirm I have the same issue, for me, it happened both in 4.5.0 and 4.5.1. I have applied the workaround and I got the system tray white whale icon again. Without this, at least on Windows, I couldn't find a way to switch to Windows containers or properly exit docker desktop. On the blogpost, it sounds like the menu is working on MacOS but on windows doesn't seem to work wondering if this is just in some versions of windows.
I am on windows:
Edition Windows 10 Enterprise
Version 20H2
OS build 19042.1466
Experience Windows Feature Experience Pack 120.2212.3920.0
I am on a company issues laptop so I don't get updates exactly when they are released, we are always several months behind but I am guessing that would be the case of many people.
Cheers
from for-win.
@adpe's workaround worked for me. Thank you very much!
from for-win.
Same issue for me when installing / upgrading to 4.5.1.
Edition Windows 10 Pro
Version 20H2
OS build 19042.1526
Experience Windows Feature Experience Pack 120.2212.4170.0
WSL2 Backend
Docker GUI / Electron won't open and the system tray icon is gone. When trying to run docker, multiple processes will be spawned and are running in task manager, but there's otherwise no evidence that Docker is running at all.
The "WhaleMenuRedesign" workaround above makes the systray icon appear again. However it just displays as the 'docker isn't running' half whale, and right clicking on it only displays a context menu missing most of the useful options like open dashboard. The GUI / Electron is still completely unable to open.
The only way I could get docker working again was to downgrade to 4.4.4.
from for-win.
Hi @lukethegeek
How do you downgrade without loss of data?
Greets
Adrian
from for-win.
Hi Adrian,
How do you downgrade without loss of data?
I just ended up uninstalling Docker which wiped all of the data. I really wish they gave the option to leave data intact during uninstallation, because uninstalling seems to be the only option until an update with a fix is released.
If you're using WSL2, there is possibly a method whereby you take a backup of the entire wsl distros / xvhd then just restore it after installing a working Docker version. But I have no idea how successful this approach is, or whether anything will be lost or broken in the process if downgrading.
from for-win.
Hi,
I've got the same problem. After upgrade from 4.4.4 to 4.5.1 the icon in sys tray was missing, then I've applied the workaround and the icon is showed again in the sys tray but the windows for dashboard or setting are unavailable.
from for-win.
@gpettey @duke1995 @amari-at4 @adpe @lukethegeek Could you please try out this build https://desktop-stage.docker.com/win/main/amd64/75084/Docker%20Desktop%20Installer.exe? Hopefully it could bring back the whale icon.
Please try it without the above workaround on features-overrides.json
from for-win.
Thanks you @lukethegeek. To help us debugging the problem, could you please upload the diagnostics? The instruction is here https://docs.docker.com/desktop/windows/troubleshoot/#diagnosing-from-the-terminal
from for-win.
I would also encourage others to try out the build above and give back diagnostics. The root cause might not be the same for all
from for-win.
Hi @trungutt
Will try it tomorrow. I've already sent my diagnostics, see issue #12575.
from for-win.
@trungutt no problem. Done.
Diagnostics ID: 7A765C8E-24A2-4E4A-8D66-F5C9965122C9/20220224205218 (uploaded)
If you need anything else, please don't hesitate to ask (e.g. installing more test versions / diagnostics / whatever). Happy to do what I can to help.
Oh also:
Starting diagnostics
[PASS] DD0027: is there available disk space on the host?
[PASS] DD0028: is there available VM disk space?
[PASS] DD0001: is the application running?
[SKIP] DD0018: does the host support virtualization?
[PASS] DD0002: does the bootloader have virtualization enabled?
[PASS] DD0017: can a VM be started?
[PASS] DD0024: is WSL installed?
[PASS] DD0021: is the WSL 2 Windows Feature enabled?
[PASS] DD0022: is the Virtual Machine Platform Windows Feature enabled?
[PASS] DD0025: are WSL distros installed?
[PASS] DD0026: is the WSL LxssManager service running?
[PASS] DD0029: is the WSL 2 Linux filesystem corrupt?
[PASS] DD0015: are the binary symlinks installed?
[PASS] DD0003: is the Docker CLI working?
[PASS] DD0013: is the $PATH ok?
[PASS] DD0005: is the user in the docker-users group?
[PASS] DD0007: is the backend responding?
[PASS] DD0014: are the backend processes running?
[PASS] DD0008: is the native API responding?
[PASS] DD0009: is the vpnkit API responding?
[PASS] DD0010: is the Docker API proxy responding?
[PASS] DD0006: is the Docker Desktop Service responding?
[PASS] DD0012: is the VM networking working?
[PASS] DD0032: do Docker networks overlap with host IPs?
[SKIP] DD0030: is the image access management authorized?
[PASS] DD0033: does the host have Internet access?
No fatal errors detected.
from for-win.
Thank you @lukethegeek. Could you please confirm that you followed these steps?
- Remove the workaround from #12573 (comment) (i.e. remove
features-overrides.json
) - Install the build 75084 from https://desktop-stage.docker.com/win/main/amd64/75084/Docker%20Desktop%20Installer.exe
- Start Docker Desktop once the installation done
- No whale icon appears, even Docker is running (i.e.
docker ps
outputs something)
from for-win.
@adpe can you also restart your computer and see if the docker tray icon pops up as well with the new build 75084
from for-win.
so after doing some test again, after restarting the system, the icon doesn't show up, so this means that everytime i need to do a wsl --shutdown
to bring back the icon and the GUI. is this another bug. i never had this issue.
from for-win.
Here's the diagnostic from my computer. manifesting the same issue: 373C18BF-F79E-4A45-AC15-C10F9705AC77/20220228101106
from for-win.
@lukethegeek @adpe @EdgarGrimbergNOV Please let me try again one more time. Could you please try this build? Obviously the same procedure described in #12573 (comment)
https://desktop-stage.docker.com/win/main/amd64/75257/Docker%20Desktop%20Installer.exe
If it still happens, please upload your diagnostics ID like described above. Thanks a lot for that!
from for-win.
@trungutt No luck I'm afraid.
Same thing happens with 75257 - Docker is running in the background (docker ps
works) but no GUI or systray icon.
Diagnostics ID: 7A765C8E-24A2-4E4A-8D66-F5C9965122C9/20220302190303 (uploaded)
More than happy to keep trying further builds as long as they keep coming, it's really no problem :)
from for-win.
@lukethegeek Thanks a lot. Could you try this build? https://desktop-stage.docker.com/win/main/amd64/75278/Docker%20Desktop%20Installer.exe
When this build fails, could you please try wsl --setdefault docker-desktop
and then restart Docker Desktop. Please upload your diagnostics ID after all this
from for-win.
@trungutt initially it failed like before, then after running wsl --setdefault docker-desktop
and restarting, Docker GUI started up just fine.
Diagnostics ID: 7A765C8E-24A2-4E4A-8D66-F5C9965122C9/20220302225922 (uploaded)
from for-win.
@trungutt something else in case it helps:-
If I change the default wsl distro back to my Ubuntu distro, Docker GUI fails to start.
However if I then issue a wsl --shutdown
, Docker GUI then opens along with a 'Docker Desktop WSL 2 backend has stopped unexpectedly. Do you want to restart it?' prompt. If I click 'Yes' to restart it, Docker GUI then stays open, however the moment I click on a running container, the GUI immediately disappears along with the systray icon. This process is repeatable.
I did another diagnostics after doing this process in case it triggers some kind of helpful error in the logs:-
Diagnostics ID: 7A765C8E-24A2-4E4A-8D66-F5C9965122C9/20220302235431 (uploaded)
from for-win.
@lukethegeek It's a bit hard to tell what is the exact problem when the GUI fails to start with your Ubuntu distro to be honest.
However, I tried to get into the GUI disappearance problem when clicking on a container and it looked like a real bug from our side. The fix will be deployed for the next release, but I can give you a temporary build that could fix the problem. https://desktop-stage.docker.com/win/main/amd64/75325/Docker%20Desktop%20Installer.exe Please let me know if it works
from for-win.
@lukethegeek It's a bit hard to tell what is the exact problem when the GUI fails to start with your Ubuntu distro to be honest.
However, I tried to get into the GUI disappearance problem when clicking on a container and it looked like a real bug from our side. The fix will be deployed for the next release, but I can give you a temporary build that could fix the problem. https://desktop-stage.docker.com/win/main/amd64/75325/Docker%20Desktop%20Installer.exe Please let me know if it works
always not working.
from for-win.
@netcore-jroger Could you be more specific?
from for-win.
@netcore-jroger Could you be more specific?
After I upgrade to v4.5.1, the DockerDesktop app always running in background.
OS: Win10 Professional 21H2
OS Internal Version: 19044.1526
$ wsl -l
适用于 Linux 的 Windows 子系统分发版:
Ubuntu-20.04 (默认)
docker-desktop
docker-desktop-data
$ uname -a
Linux ATP-YQYF-127 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
from for-win.
@netcore-jroger did you try wsl --setdefault docker-desktop
<-- should be prority , if tht doesn't work, try delete Ubuntu or do a reset.
from for-win.
And all of a sudden this morning, nearly two weeks after the 4.5.1 upgrade (and four days since the last reboot), the tray icon showed up. Docker has been running the whole time (it is enabled to run on startup), so it wasn't triggered (at least not immediately) by any restart.
Diag E47DA4F9-6DED-433F-B321-4B3102BDA456/20220304155430
from for-win.
@netcore-jroger did you try
wsl --setdefault docker-desktop
<-- should be prority , if tht doesn't work, try delete Ubuntu or do a reset.
thanks. when I use wsl --set-default docker-desktop
,then start docker-desktop app. worked fine for me.
from for-win.
@trungutt sorry for the delay in getting back to you.
75325 has fixed the closing GUI bug - many thanks. At some point I'll try a fresh WSL Ubuntu install to see if that fixes Docker opening issue.
from for-win.
Thank you all a lot for your patience
from for-win.
We have released Docker Desktop 4.6.0, with a fix for this issue, see https://docs.docker.com/desktop/windows/release-notes/
from for-win.
The method that work for me was Deleting in %APPDATA% the Docker and DockerDesktop folders then unistall then install again . restart pc and launching docker desktop ( and all went smooth )
from for-win.
Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.
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.
/lifecycle locked
from for-win.
Related Issues (20)
- host.docker.internal doesnt work without --add-host parameter HOT 3
- Turning off Docker Desktop status window update HOT 3
- Auto start doesn't respect compose depends_on
- Permission denied while trying to connect to Docker socket inside container after updating to 4.28.0 HOT 1
- Internal Server Error
- Docker Desktop 4.28.0 not starting on Windows 11 HOT 29
- Container view keeps flashing/updating after upgrade to 4.28.0 HOT 7
- Docker automatically starts even when it is disabled in startup apps on windows 11 machine HOT 1
- WSL update access denied HOT 2
- Cannot mount volumes to SQL Server container running on WSL HOT 1
- DOCKER DESKTOP USE DISK USE TIME
- Strange Host-Mount Behavior with Mounted Docker Socket HOT 1
- 362C24E3-B4E0-4E48-B922-6A6984B92F1F/20240319182739 (An unexpected error was encountered while executing a WSL command)
- Unusual behavior: Docker Desktop triggering right alt key press
- No mount from running container into new container HOT 3
- Settings
- Not able to install office packages in windows docker containers
- Docker Desktop cannot start, WSL update failed
- File browser will only open folders like /et and /var on initial launch of container HOT 2
- Volumes not initially mounting for services that restart on windows reboot HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from for-win.