Skip to content

Docker no longer backgrounds, does not respect cmd+q for backgrounding #6167

@timfallmk

Description

@timfallmk

The new version (4.5.0 (74594)) of Docker Desktop for macOS now boots into the foreground and cannot be backgrounded, either by use of cmd + q or with a menu item.

Previous versions of Docker Desktop were intended to be left running "backgrounded" by launching the app without the GUI frontend presentation, and maintaining access in the menu bar. The application would not show in the Dock, nor was the "Dashboard" UI on screen. If the GUI was opened (either by clicking the option, or using the menu bar icon) it could immediately be sent to the "background" by intercepting the standard quit key combo in macOS cmd + q.

This version (4.5.0 (74594)) seems to launch into the foreground, with the GUI open and the application in Dock. It also removes the ability to send the application to "background" via the key combo or the menu option. This leaves the application forcibly running in the foreground at all times. The only way to remove GUI elements is to quit Docker entirely.

image

This is probably just an oversight, but it radically alters the behavior of Docker Desktop and makes a jarring change for any user that is not prepared for it.

  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID: 8AA04ED2-FE4E-4107-A277-45CCD6E4EF73/20220211030400

Expected behavior

As before, Docker Desktop starts in "background" mode, with only the menu bar icon showing. It can be opened and then "backgrounded" again via a menu option or cmd + q.

Actual behavior

Docker Desktop launches initially in the foreground and stays that way. The only way to remove it from foreground is the quit the app entirely.

Information

  • macOS Version: 12.2
  • Intel chip or Apple chip: Apple Silicon
  • Docker Desktop Version: 4.5.0 (74594)

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

Diagnostics uploaded

Steps to reproduce the behavior

Install version 4.5.0 (74594), reopen.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions