Skip to content

Cannot Update Docker Desktop #6920

Closed
Closed

Description

@alexrussak-sage

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

Activity

  1. scottdspangler commented on Jul 16, 2023

    @scottdspangler

    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.

  2. sergiuwaxmann commented on Jul 17, 2023

    @sergiuwaxmann

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

  3. hunterMG commented on Jul 20, 2023

    @hunterMG

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

  4. Bygokcen commented on Jul 22, 2023

    @Bygokcen

    Yes , It is Still Continue . *

  5. sergiuwaxmann commented on Jul 25, 2023

    @sergiuwaxmann

    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.

  6. ebriney commented on Aug 2, 2023

    @ebriney
    Member

    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.

  7. rossjrw commented on Aug 10, 2023

    @rossjrw

    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

  8. sergiuwaxmann commented on Sep 4, 2023

    @sergiuwaxmann

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

  9. bsousaa commented on Sep 4, 2023

    @bsousaa
    Contributor

    @sergiuwaxmann can you share a diagnostics id?

  10. sergiuwaxmann commented on Sep 4, 2023

    @sergiuwaxmann

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

  11. 21 remaining items

  12. xvrzhao commented on Aug 3, 2024

    @xvrzhao

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

  13. yanglb commented on Aug 14, 2024

    @yanglb

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

  14. jhassine commented on Sep 17, 2024

    @jhassine

    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

  15. VancouverUmbrella commented on Oct 16, 2024

    @VancouverUmbrella

    Cannot update on Mac Sonoma 14.7.1 Apple M1 Pro.

    Hangs without feedback. Frustrating.

    Image

  16. aussitot commented on Nov 5, 2024

    @aussitot

    Cannot update on Mac Sonoma 14.6.1 Apple M2 Pro

  17. returnvalue commented on Nov 7, 2024

    @returnvalue

    Also can not update Sonoma 14.7.1 Apple M1 Chip

  18. jolamar commented on Nov 8, 2024

    @jolamar

    Cannot update Macbook Air M2 chip 15.1 Beta Sequoia

  19. XavierElon commented on Nov 26, 2024

    @XavierElon

    Cannot update on Macbook Pro M2 Pro 14.7.1

  20. lorenrh commented on Dec 12, 2024

    @lorenrh
    Member

    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!

  21. jhassine commented on Dec 19, 2024

    @jhassine

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

  22. aussitot commented on Dec 19, 2024

    @aussitot

    Docker Desktop 4.37.0 solved the problem for me

  23. sc-ahn commented on Jan 3, 2025

    @sc-ahn

    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

  24. beezital commented on Jan 20, 2025

    @beezital

    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.

  25. richstokes commented on Feb 9, 2025

    @richstokes

    Still an issue.

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

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