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

Docker Application not restarting after update to 4.38

Open mikecalbreeeezy opened this issue 10 months ago • 11 comments

Description

When trying to update to version 4.38 it gets to the point where it asks to restart but the application shuts down but never restarts and stuck on the same version

Reproduce

  1. Settings
  2. Check for updates
  3. Download
  4. Restart

Expected behavior

No response

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/arm64
 Context:           desktop-linux

docker info

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/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.37.2 (179585)
 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:33 2024
  OS/Arch:          linux/arm64
  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
mcalbero@C02DP1CNQ05N ~ % docker info
Client:
 Version:    27.4.0
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  ai: Ask Gordon - Docker Agent (Docker Inc.)
    Version:  v0.5.1
    Path:     /Users/mcalbero/.docker/cli-plugins/docker-ai
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.19.2-desktop.1
    Path:     /Users/mcalbero/.docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.31.0-desktop.2
    Path:     /Users/mcalbero/.docker/cli-plugins/docker-compose
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.37
    Path:     /Users/mcalbero/.docker/cli-plugins/docker-debug
  desktop: Docker Desktop commands (Beta) (Docker Inc.)
    Version:  v0.1.0
    Path:     /Users/mcalbero/.docker/cli-plugins/docker-desktop
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     /Users/mcalbero/.docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.27
    Path:     /Users/mcalbero/.docker/cli-plugins/docker-extension
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.5
    Path:     /Users/mcalbero/.docker/cli-plugins/docker-feedback
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    Path:     /Users/mcalbero/.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/mcalbero/.docker/cli-plugins/docker-sbom
  scout: Docker Scout (Docker Inc.)
    Version:  v1.15.1
    Path:     /Users/mcalbero/.docker/cli-plugins/docker-scout

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 27.4.0
 Storage Driver: overlayfs
  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 splunk syslog
 CDI spec directories:
  /etc/cdi
  /var/run/cdi
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 472731909fa34bd7bc9c087e4c27943f9835f111
 runc version: v1.1.13-0-g58aa920
 init version: de40ad0
 Security Options:
  seccomp
   Profile: unconfined
  cgroupns
 Kernel Version: 6.10.14-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: aarch64
 CPUs: 8
 Total Memory: 7.654GiB
 Name: docker-desktop
 ID: fb6c0d6c-f8c2-44ec-9888-f15d05e0ab1b
 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
 Labels:
  com.docker.desktop.address=unix:///Users/mcalbero/Library/Containers/com.docker.docker/Data/docker-cli.sock
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: daemon is not using the default seccomp profile

Diagnostics ID

77EE8D78-7CA6-4416-B675-1710DCDA3335/20250205025743

Additional Info

I've tried the fixes where some users were getting the malware alert. I am not getting that alert but I gave the commands a try and it did not fix the issue

mikecalbreeeezy avatar Feb 05 '25 03:02 mikecalbreeeezy

Same problem.

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/arm64 Context: desktop-linux

Server: Docker Desktop 4.37.2 (179585) 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:33 2024 OS/Arch: linux/arm64 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

tconsta avatar Feb 05 '25 11:02 tconsta

+1

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/arm64 Context: desktop-linux

Server: Docker Desktop 4.37.2 (179585) 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:33 2024 OS/Arch: linux/arm64 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

likeajohny avatar Feb 07 '25 10:02 likeajohny

Same issue.. any help?

marnelfr avatar Feb 07 '25 13:02 marnelfr

@marnelfr @LikeAJohny @tconsta can you please share a Diagnostics ID?

bsousaa avatar Feb 10 '25 09:02 bsousaa

@bsousaa here you are 7EC6CB47-0395-4003-9956-8E1570DA2B26/20250210095603

tconsta avatar Feb 10 '25 09:02 tconsta

@bsousaa

8FF499DD-889A-4186-808E-7DA9D5A50FC2/20250210201022

marnelfr avatar Feb 10 '25 20:02 marnelfr

this sounds like a duplicate of this issue https://github.com/docker/for-mac/issues/7574

Can you check if you don't have any Docker process running in the background: https://docs.docker.com/desktop/cert-revoke-solution/ and restart?

bsousaa avatar Feb 11 '25 15:02 bsousaa

Running the MDM script, starting Docker Desktop (4.37.2), and installing the update from the Docker UI fixed the issue for me.

flovouin avatar Feb 11 '25 15:02 flovouin

Unfortunately, the MDM script did not work for me. I am getting unable to load certificate errors when I run the check.sh. I've reinstalled a new version from the release page and still getting this same error.

[image: image.png]

On Tue, Feb 11, 2025 at 7:56 AM Flo @.***> wrote:

Running the MDM script https://docs.docker.com/desktop/cert-revoke-solution/#mdm-script, starting Docker Desktop (4.37.2), and installing the update from the Docker UI fixed the issue for me.

— Reply to this email directly, view it on GitHub https://github.com/docker/for-mac/issues/7580#issuecomment-2651247283, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPJKZ3FTZGSYJMYIT3BNTT2PIMUHAVCNFSM6AAAAABWQATDQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJRGI2DOMRYGM . You are receiving this because you authored the thread.Message ID: @.***>

mikecalbreeeezy avatar Feb 12 '25 00:02 mikecalbreeeezy

i am also facing this issue... vineetpal@Vineets-MacBook-Air bin % 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/arm64 Context: default Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? vineetpal@Vineets-MacBook-Air bin % docker info Client: Version: 27.4.0 Context: default Debug Mode: false

Server: ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? errors pretty printing info vineetpal@Vineets-MacBook-Air bin % can ayone please help me

vineetpalbyo avatar Feb 13 '25 06:02 vineetpalbyo

https://docs.docker.com/desktop/cert-revoke-solution/#mdm-script

Steps to Execute the MDM Script: Save the Script: Open a text editor (like nano or vim) and save the script as fix_docker.sh. Example:

nano fix_docker.sh Paste the script into the file and save it (Ctrl + X, then Y, then Enter).

Give Execute Permission: Run the following command to make the script executable:

chmod +x fix_docker.sh Run the Script as Administrator: Use sudo to execute the script:

sudo ./fix_docker.sh

now start the docker again. this will work for me....

vineetpalbyo avatar Feb 13 '25 06:02 vineetpalbyo