-
Notifications
You must be signed in to change notification settings - Fork 121
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
In-app update does not update to the latest version #7511
Comments
Have a similar issue with macOS Sonoma on Apple Silicon. Cannot upgrade beyond 1.36.0 as that is the latest version available to download. Attempting to upgrade stops when the app 'restarts'. At this point I am left with Docker.app.back.app that can be renamed back to Docker.app (via CLI) to restore functionality as v1.36.0. Non-standard setup...
Docker.app given Full Disk Access. This behaviour has been going on for many versions! |
Similar issue here (Sequoia 15.2 on M3). Docker for Mac downloads the update, but after restarting it doesn't open up. And when I relaunch it, it's still on 4.37.0 |
@stevenanthonyrevo did you test that with a non-admin user on your M1? |
@jhassine I'm not sure if my docker desktop is set to non-admin or admin user. However, yes after restart the docker desktop is working same as before on M1 Macos verison 13.6.9. |
@jhassine I had the same problem and noticed in Activity Monitor that process named |
I am having the same issue as well |
Thanks. That was the culprit for me. Fixed it the same way. |
Same issue. I cannot update from 4.36.0 to 4.37.1. |
Same here. Can't update from 4.18.0 (104112) to 4.37.1 on a Macbook M1 Pro. Downloading the update seem to take forever (over 30 minutes sometimes), it's shame there isn't any progress indication.. I guess I'll just uninstall Docker from my machine and install the latest version from scratch. |
Update from 4.36.0 to 4.37.1 on my M2 Ultra kept failing, too. It looks like Docker does not like being installed on an external hard drive, will download the update, rename the app to Docker.app.bak.app (the name will get longer on each update attempt :D) but otherwise fail to restart and replace the app. Uninstalling Docker (Troubleshoot > Uninstall) and re-installing in /Applications fixed the issue. This is a pity given the size of the app. |
Description
I have a Mac with Docker 4.37.0 running. I went to check for updates inside the Docker Desktop and update to the latest 4.37.1 version. After the 4.37.1 installation stops Docker Desktop closes and does not open again on it's own. Then opening manually Docker Desktop again, and the version remains the old 4.37.0 so the update failed. Can repeat this update cycle many times and the version always stays the old.
The update issue has been there for long time already (as long as I remember) and I first time reported the issue here: #6920 (comment)
The 4.37.0 update was supposed to fix some of the installation issues but at least for my case it did not.
I had some theories what might be the issue(s):
First, I was thinking if there is some issue (caching/cache invalidation issue maybe?) on the website where Docker Desktop fetches those the updated dmg files. I was thinking this because I had to manually check for updates before they come to visible even thou I have the
Automatically check for updates
option enabled in the settings.Secondly, I suspected the issue might be that I have a bit atypical setup, having a non-admin account on my Mac and trying the update it using that account. Some security frameworks e.g. CyberEssentials and policies recommend having a separate admin user and day to day user accounts for computers. Docker Desktop seems to be the only app on my computer which has update issues, all other apps update correctly even with this setup.
In order to test these theories, what I did was I promoted my standard user as admin user and run the Docker Desktop in-app update at it succeeded as the version was updated correctly. However, something strange happened here, the Docker Desktop icon was duplicated in the macOS task bar: not sure if the issue is similar that is reported in here: #7497 .
The workaround to get updated for me:
These are not very quick ways especially if there are some critical patches that needs to get updated.
Reproduce
On Mac, have a "standard" (non-administrator) user account ,
Be logged in with that "standard" user on Mac.
Have Docker Desktop
4.37.0
installed (https://desktop.docker.com/mac/main/amd64/178034/Docker.dmg)In Docker Desktop click
Check for updates
When the screen shows an update for
4.37.1
clickDownload update
Wait download to complete
Click
Update and restart
Wait the install to complete
When Docker Desktop closes, open it again.
Again, click the check if the version is updated to
4.37.1
. The version is still at4.37.0
: .Expected behavior
Issue 1: The latest version (
4.37.1
in this case) should show automatically, even without clicking theCheck for updates
button as theAutomatically check for updates
option is enabled.Issue 2: Docker Desktop should automatically restart after the update (but it does not, and in order to open the Docker Desktop, have to do it manually)
Issue 3: When Docker Desktop is restarted, it should be at the latest version (version
4.37.1
in this case).docker version
Client: Version: 27.4.0 API version: 1.47 Go version: go1.22.10 Git commit: bde2b89 Built: Sat Dec 7 10:35:43 2024 OS/Arch: darwin/amd64 Context: desktop-linux Server: Docker Desktop 4.37.0 (178034) Engine: Version: 27.4.0 API version: 1.47 (minimum version 1.24) Go version: go1.22.10 Git commit: 92a8393 Built: Sat Dec 7 10:38:57 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.21 GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111 runc: Version: 1.1.13 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
7BBF53C3-EE5C-4F2D-B0A3-B50019A2D92A/20241219105808
Additional Info
macOS Sequoia 15.2 (24C101) on Intel chip
The text was updated successfully, but these errors were encountered: