Skip to content
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

Docker Whale icon in Mac menu bar should always be visible when docker-desktop is running #6440

Closed
1 of 3 tasks
bgehman opened this issue Aug 3, 2022 · 7 comments
Closed
1 of 3 tasks

Comments

@bgehman
Copy link

  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID:

Expected behavior

I would expect to find the docker Whale icon in the Mac's "menu bar" to always be visible when the docker-desktop VM is running.

Actual behavior

User can perform actions to accidentally remove the whale icon from menu bar, even though docker is still running in the background, and there is no clear logical way to bring the icon back to the menu bar. See the detailed scenario described below.

Information

  • macOS Version: Monterey (v12.5)
  • Intel chip or Apple chip: intel
  • Docker Desktop Version: reproducible on 4.10.1 (82475) and 4.11.0 (83626)

Output of /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check

n/a

Steps to reproduce the behavior

  1. Open docker preferences by using the Whale icon in the menu-bar.
  2. In Mac's "Dock", right click on the Docker icon and select Quit
  3. Notice that:
    • Preference window's icon is removed from Mac's "Dock"
    • Whale icon is removed from Mac's "menu bar"
    • Docker is still running in the background (verified with docker ps)
    • Running Docker from Mac's launchpad will not bring back the Whale icon in the menu bar.
  4. User is left in a broken state with no way to mange the running docker-desktop: management is done via the lost whale icon in the mac menu bar and there is no clear way to restore it.

Workaround
The only way (that I've found) to restore back the missing whale icon in the menu bar is by running this command on the CLI (or perhaps rebooting):

/Applications/Docker.app/Contents/MacOS/Docker
@nicks
Copy link

thanks for the detailed report! I can repro this as well.

For what it's worth, you can also run

osascript -e 'quit app "Docker"'

from the terminal to quit the app, which will tear everything down properly (this what i often do in some of my dev scripts)

@DiegoGiovany
Copy link

DiegoGiovany commented Sep 2, 2022

Still happening here, 4.12.0 on a M1 Max with Ventura...

@bgehman
Copy link
Author

looping back on this old bug report, can confirm this is fixed in later versions now.
I've verified on 4.14.1 (91661). Following the steps in my reproducible scenario, exiting Docker by "Quit" on Docker icon in Mac's "Dock", has the application fully shut down (not left running in the background). Restarting Docker using the Launchpad also works now.

Closing as Fixed. Thanks!

@gpressutto5
Copy link

gpressutto5 commented Mar 2, 2023

This issue still exists. I'm currently running docker, and the dashboard is open, but the icon is missing from the menu bar. The only way for me to open the dashboard is to quit docker desktop using Activity Monitor and re-open it.

macOS Version: Ventura (v 13.2.1)
Intel chip or Apple chip: M1 Max
Docker Desktop Version: 4.17.0

image

@bgehman
Copy link
Author

Hi @gpressutto5 since opening this bug report (back in August) I have upgrade my Mac and my specs are identical to yours now (M1 processor, Ventura 13.2.1, Docker desktop 4.17.0). I went through my original reproducible scenario and I am unable to reproduce the problem.

Suggest that you try to figure out a reproducible scenario and open a new bug report on the new problem -- it seems different from my original report. Thanks.

@nicks
Copy link

@gpressutto5 sorry to hear you're having trouble! Ya, if you're still having problems, please open a new bug with repro steps on how you got into this state. Going to lock this issue to prevent discussion of similar but unrelated issues.

@docker docker locked as resolved and limited conversation to collaborators Mar 2, 2023
@docker-robott
Copy link
Collaborator

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.

/lifecycle locked

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants