for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

Cannot Update Docker Desktop

Open alexrussak-sage opened this issue 2 years ago • 31 comments

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

alexrussak-sage avatar Jul 14 '23 19:07 alexrussak-sage

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.

scottdspangler avatar Jul 16 '23 05:07 scottdspangler

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

sergiuwaxmann avatar Jul 17 '23 15:07 sergiuwaxmann

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

hunterMG avatar Jul 20 '23 09:07 hunterMG

Yes , It is Still Continue . *

Bygokcen avatar Jul 22 '23 11:07 Bygokcen

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.

sergiuwaxmann avatar Jul 25 '23 12:07 sergiuwaxmann

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.

ebriney avatar Aug 02 '23 16:08 ebriney

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

rossjrw avatar Aug 10 '23 11:08 rossjrw

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

sergiuwaxmann avatar Sep 04 '23 11:09 sergiuwaxmann

@sergiuwaxmann can you share a diagnostics id?

bsousaa avatar Sep 04 '23 11:09 bsousaa

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

sergiuwaxmann avatar Sep 04 '23 11:09 sergiuwaxmann

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

NBNGaming avatar Sep 04 '23 14:09 NBNGaming

@NBNGaming can you share a diagnostics id?

bsousaa avatar Sep 04 '23 14:09 bsousaa

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

NBNGaming avatar Sep 05 '23 12:09 NBNGaming

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.

jarrodldavis avatar Sep 06 '23 05:09 jarrodldavis

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.

uob-hillmu avatar Sep 06 '23 14:09 uob-hillmu

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 avatar Sep 14 '23 14:09 lorenrh

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

timuckun avatar Oct 29 '23 10:10 timuckun

@lorenrh Same thing in 4.25.0.

Screenshot 2023-11-14 at 09 26 37

uvarvu avatar Nov 14 '23 09:11 uvarvu

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

dugip avatar Dec 04 '23 16:12 dugip

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.

wayne530 avatar Jan 02 '24 18:01 wayne530

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.

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

Dentrax avatar Feb 06 '24 18:02 Dentrax

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

running 4.26.1 and update is still not working

lmtyler avatar Feb 16 '24 13:02 lmtyler

Hello @lmtyler can you send a diagnostic please?

ebriney avatar Feb 16 '24 13:02 ebriney

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

lmtyler avatar Feb 16 '24 15:02 lmtyler

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

ebriney avatar Feb 16 '24 15:02 ebriney

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

tinywaves avatar Jul 15 '24 14:07 tinywaves

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

xvrzhao avatar Aug 03 '24 02:08 xvrzhao

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

yanglb avatar Aug 14 '24 06:08 yanglb