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

Cannot Update Docker Desktop #6920

Closed
alexrussak-sage opened this issue Jul 14, 2023 · 41 comments
Closed

Cannot Update Docker Desktop #6920

alexrussak-sage opened this issue Jul 14, 2023 · 41 comments

Comments

@alexrussak-sage
Copy link

Description

Hello,

After clicking download update in Docker Desktop, the install update button/dialog is missing.

Quitting & restarting the desktop app or my MacBook Pro did not help.

Settings - Docker Desktop 2023-07-14 at 10 36 38

Reproduce

  1. Open Docker Desktop
  2. Settings -> Software update
  3. Click Download update
  4. Let the download finish
  5. The button to apply the update is missing.

Expected behavior

The button/action to apply the update is available.

docker version

Client:
 Cloud integration: v1.0.33
 Version:           24.0.2
 API version:       1.43
 Go version:        go1.20.4
 Git commit:        cb74dfc
 Built:             Thu May 25 21:51:16 2023
 OS/Arch:           darwin/amd64
 Context:           desktop-linux

Server: Docker Desktop 4.20.1 (110738)
 Engine:
  Version:          24.0.2-38-g8e70a1b23e
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.4
  Git commit:       8e70a1b23e965d86ec8c2feb77605196ae124630
  Built:            Fri Jun  2 15:58:50 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.21
  GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
 runc:
  Version:          1.1.7
  GitCommit:        v1.1.7-0-g860f061
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker info

Client:
 Version:    24.0.2
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.10.5
    Path:     /Users/alex/.docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.18.1
    Path:     /Users/alex/.docker/cli-plugins/docker-compose
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     /Users/alex/.docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.19
    Path:     /Users/alex/.docker/cli-plugins/docker-extension
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v0.1.0-beta.4
    Path:     /Users/alex/.docker/cli-plugins/docker-init
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     /Users/alex/.docker/cli-plugins/docker-sbom
  scan: Docker Scan (Docker Inc.)
    Version:  v0.26.0
    Path:     /Users/alex/.docker/cli-plugins/docker-scan
  scout: Command line tool for Docker Scout (Docker Inc.)
    Version:  v0.12.0
    Path:     /Users/alex/.docker/cli-plugins/docker-scout

Server:
 Containers: 1
  Running: 1
  Paused: 0
  Stopped: 0
 Images: 1
 Server Version: 24.0.2-38-g8e70a1b23e
 Storage Driver: stargz
  driver-type: io.containerd.snapshotter.v1
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
 runc version: v1.1.7-0-g860f061
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.15.49-linuxkit-pr
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 2.921GiB
 Name: docker-desktop
 ID: 3fd1cc1e-855d-4d72-bbd0-5c31604aef8f
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  127.0.0.0/8
 Live Restore Enabled: false

Diagnostics ID

9A0C7893-3C7D-4179-B6AD-C44BA32130B0/20230714181742

Additional Info

No response

@scottdspangler
Copy link

scottdspangler commented Jul 16, 2023

I am seeing the exact same problem on Mac amd64 when trying to update from v4.20.1 to latest. On Mac Apple Silicon (aarch64/arm64) the update worked correctly.

@sergiuwaxmann
Copy link

Same problem here (same version - v4.20.1) on a MacBook Pro and on a Mac mini (both M1)...

@hunterMG
Copy link

Same problem on macOS 12.6.6 (Intel chip), v4.20.1.

@Bygokcen
Copy link

Yes , It is Still Continue . *

@sergiuwaxmann
Copy link

I uninstalled Docker Desktop and reinstalled it, let's see if this issue still happens - the version I downloaded and reinstalled is v4.21.1.

@ebriney
Copy link
Member

ebriney commented Aug 2, 2023

Hello, thanks for the report.
We identified the issue and it should be fixed for next release in few days.
You should be able to do the update to 4.22.0.

@rossjrw
Copy link

rossjrw commented Aug 10, 2023

Updated from 4.21.1 to 4.22.0 via this UI; am now experiencing this issue on 4.22.0

image

Mind you, at the time of writing 4.22.0 is the latest version according to https://docs.docker.com/desktop/release-notes/, so it is possible it is the pending update notification that is incorrect here

@sergiuwaxmann
Copy link

@rossjrw I have the same issue. Can't update to v4.22.1 (from v4.22.0)...

@bsousaa
Copy link
Contributor

bsousaa commented Sep 4, 2023

@sergiuwaxmann can you share a diagnostics id?

@sergiuwaxmann
Copy link

@bsousaa Sure: C13A8A42-0DB5-42C9-9C4C-980245132A45/20230904113204

@NBNGaming
Copy link

Can't update to v.4.22.1 from v.4.20.1 (macOS 13.5.1, Apple M1).

@bsousaa
Copy link
Contributor

bsousaa commented Sep 4, 2023

@NBNGaming can you share a diagnostics id?

@NBNGaming
Copy link

@bsousaa 05294B1E-DA29-4CC3-A987-22A7BD0F7222/20230905120007

@jarrodldavis
Copy link

I am having the same issue. I have had to manually upgrade Docker using brew upgrade --cask docker three times now, the latest time from v4.22.0 to v4.22.1. After clicking "Download update…", the update downloads, but then the release notes disappear and the "Apply & restart" button is disabled, but no update actually occurs. Restarting (Docker or macOS) does nothing to help with this.

@uob-hillmu
Copy link

uob-hillmu commented Sep 6, 2023

I'm seeing the same thing, on macOS 13.5.1, trying to update from 4.22.0 to 4.22.1. Updating via brew upgrade works.

@lorenrh
Copy link
Member

lorenrh commented Sep 14, 2023

Hello,

Apologies for this! We currently have fixed the issue in 4.23.0, but this will most likely fix the issue for updates above 4.23. For now I suggest you use brew upgrade if you are stuck in a version bellow 4.23, or download the installer from the release notes.

I'll close this issue for now, but if a problem persists above 4.23.0, feel free to open a new ticket.

@lorenrh lorenrh closed this as completed Sep 14, 2023
@timuckun
Copy link

timuckun commented Oct 29, 2023

Version 4.24.0 have the same problem. It says it downloaded the update and asked me to restart. Restarting via the menu and manually doesn't actually upgrade the app.

Macbook pro intel ventura

@uvarvu
Copy link

uvarvu commented Nov 14, 2023

@lorenrh Same thing in 4.25.0.

Screenshot 2023-11-14 at 09 26 37

@dugip
Copy link

dugip commented Dec 4, 2023

Still having this issue. I can't go from 4.23.0 (120376) to 4.25.2 (129061).

@bsousaa bsousaa reopened this Dec 12, 2023
@wayne530
Copy link

wayne530 commented Jan 2, 2024

I was having the same issue.. stuck on 4.24.0 and updates would not apply. For me, the issue is that 4.25.x and up requires macOS 12 and I'm still on 11.7.x. The desktop app should not show updates available when the updates cannot be applied due to OS limitations.

@Dave-Nickerson-Imprivata
Copy link

Dave-Nickerson-Imprivata commented Feb 1, 2024

Screenshot 2024-02-01 at 1 28 56 PM

On 4.25.1, stuck here. Sonoma 14.2.1.

EDIT: Finally used kill -9 on the demon docker processes and was able to uninstall, and the install the latest version.

@Dentrax
Copy link

Dentrax commented Feb 6, 2024

Same issue. Docker Desktop 4.22.1 (118664) running on Sonoma 14.3. Tried so many times, i'm not so sure if "Download update" button really works, it seems it does nothing.

It'd be great to add some progress bar or logs something. I usually manually download the newer versions of Docker Desktop on the official Downloads page.

Edit: Just noticed the "Updating to 4.27.1 from the Software updates sometimes hangs." warning. Apologize. I just wanted to emphasize that the UX could be improved. We all love Docker 💙!

image

@Dave-Nickerson-Imprivata
Copy link

Dave-Nickerson-Imprivata commented Feb 6, 2024

Finally used kill -9 on the demon docker processes and was able to uninstall, and then install the latest version.

@lmtyler
Copy link

lmtyler commented Feb 16, 2024

running 4.26.1 and update is still not working

@ebriney
Copy link
Member

ebriney commented Feb 16, 2024

Hello @lmtyler can you send a diagnostic please?

@lmtyler
Copy link

lmtyler commented Feb 16, 2024

I think I possibly stumbled across the issue. I initially installed Docker Desktop via brew, then manually did an update via the download install. They were two different versions. Once I uninstalled the docker cask, which uninstalled everything done via brew, and then installed the dmg. The update button started working

@ebriney
Copy link
Member

ebriney commented Feb 16, 2024

Oh! Nice! We are not testing interactions with brew, it is not Docker that maintains it so...

@tinywaves
Copy link

Sorry, I still have this problem. After I complete the download, all the content below will disappear and I cannot restart to complete the update.
CleanShot_2024-07-15_22 22 03@2x

@xvrzhao
Copy link

xvrzhao commented Aug 3, 2024

Same problem on v4.23.0 on Mac Ventura arm64. ☹️

@yanglb
Copy link

yanglb commented Aug 14, 2024

Same problem on v4.31.0 on Mac Sonoma 14.6.1 arm64.

@jhassine
Copy link

jhassine commented Sep 17, 2024

The update functionality have not been working for long time. The only way to update is to remove the old docker manually and install again from fresh.

Just tried the update with:
Current version: 4.34.0 (165256)
New version: 4.34.2 (167172)

After installing the update it still runs the old 4.34.0 (165256). Tried so many times updating between different versions and restarting after it and still stays at old.

This happens at least with macOS Sonoma 14.6.1 on Intel chip.

I suspect one of the cause is that if the Docker Desktop is installed on a non-administrator user account and during the update it does not ask for administrator credentials so it does not have all the permissions.

For example when installing from the fresh it nicely asks for the admin credentials:
image
This does not happen via the update feature.

Many other apps detect they don't have the admin permissions and ask the user to give the admin credentials and their update work fine.

Some companies have policies and regulations that require users to run daily operations on separate non-admin accounts.

EDIT:
Maybe my issue is more related to this #7403

@VancouverUmbrella
Copy link

Cannot update on Mac Sonoma 14.7.1 Apple M1 Pro.

Hangs without feedback. Frustrating.

Image

@aussitot
Copy link

aussitot commented Nov 5, 2024

Cannot update on Mac Sonoma 14.6.1 Apple M2 Pro

@returnvalue
Copy link

Also can not update Sonoma 14.7.1 Apple M1 Chip

@jolamar
Copy link

jolamar commented Nov 8, 2024

Cannot update Macbook Air M2 chip 15.1 Beta Sequoia

@XavierElon
Copy link

Cannot update on Macbook Pro M2 Pro 14.7.1

@lorenrh
Copy link
Member

lorenrh commented Dec 12, 2024

Docker Desktop 4.37.0 has just been released, and it contains a fix for this issue! see: https://docs.docker.com/desktop/release-notes/

if the problem persists, feel free to open a new issue!

@jhassine
Copy link

@lorenrh Unfortunately the 4.37.0 update did not fix the issue I have, so I created a more detailed bug report here: #7511

@aussitot
Copy link

Docker Desktop 4.37.0 solved the problem for me

@sc-ahn
Copy link

sc-ahn commented Jan 3, 2025

Same here. stuck in Update and restart button- Sonoma 14.5 Apple M1 Pro

I solved it by uninstalling docker desktop and installing the new version of the release.

afterwards update button works from Docker desktop 4.36.1

now I'm using 4.37.1

@beezital
Copy link

Still an issue for me. It always fails to update (seems to download the new version, shuts down the current one and then nothing happens). Also running as non admin account. This is annoying.

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

No branches or pull requests