docker / for-mac

Bug reports for Docker Desktop for Mac
https://www.docker.com/products/docker#/mac
2.43k stars 116 forks source link

Cannot Update Docker Desktop #6920

Open alexrussak-sage opened 1 year ago

alexrussak-sage commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

hunterMG commented 1 year ago

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

Bygokcen commented 1 year ago

Yes , It is Still Continue . *

sergiuwaxmann commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 11 months ago

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

bsousaa commented 11 months ago

@sergiuwaxmann can you share a diagnostics id?

sergiuwaxmann commented 11 months ago

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

NBNGaming commented 11 months ago

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

bsousaa commented 11 months ago

@NBNGaming can you share a diagnostics id?

NBNGaming commented 11 months ago

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

jarrodldavis commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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.

timuckun commented 10 months ago

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 commented 9 months ago

@lorenrh Same thing in 4.25.0.

Screenshot 2023-11-14 at 09 26 37
dugip commented 8 months ago

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

wayne530 commented 7 months ago

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 commented 6 months ago
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 commented 6 months ago

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 commented 6 months ago

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

lmtyler commented 6 months ago

running 4.26.1 and update is still not working

ebriney commented 6 months ago

Hello @lmtyler can you send a diagnostic please?

lmtyler commented 6 months ago

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 commented 6 months ago

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

dhzhme commented 1 month ago

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 commented 3 weeks ago

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

yanglb commented 1 week ago

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