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

Docker quits unexpectedly on launch #7275

Open
peastman opened this issue May 9, 2024 · 2 comments
Open

Docker quits unexpectedly on launch #7275

peastman opened this issue May 9, 2024 · 2 comments

Comments

@peastman
Copy link

peastman commented May 9, 2024

Description

I cannot launch Docker on my Mac M1 Pro. When I select it from the Applications folder, a window immediately appears with the message, "Docker Desktop quit unexpectedly." This appears to be a duplicate of #6056, which was closed without ever being resolved. I tried updating to the latest release and rebooting. Neither one helps.

Reproduce

  1. Double-click the "Docker" application.

Expected behavior

No response

docker version

Cannot connect to the Docker daemon at unix:///Users/peastman/.docker/run/docker.sock. Is the docker daemon running?
Client:
 Cloud integration: v1.0.35+desktop.13
 Version:           26.0.0
 API version:       1.45
 Go version:        go1.21.8
 Git commit:        2ae903e
 Built:             Wed Mar 20 15:14:46 2024
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

docker info

Client:
 Version:    26.0.0
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.13.1-desktop.1
    Path:     /usr/local/lib/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.26.1-desktop.1
    Path:     /usr/local/lib/docker/cli-plugins/docker-compose
  debug: Get a shell into any image or container. (Docker Inc.)
    Version:  0.0.27
    Path:     /usr/local/lib/docker/cli-plugins/docker-debug
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     /usr/local/lib/docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.23
    Path:     /usr/local/lib/docker/cli-plugins/docker-extension
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.4
    Path:     /usr/local/lib/docker/cli-plugins/docker-feedback
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.1.0
    Path:     /usr/local/lib/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:     /usr/local/lib/docker/cli-plugins/docker-sbom
  scout: Docker Scout (Docker Inc.)
    Version:  v1.6.3
    Path:     /usr/local/lib/docker/cli-plugins/docker-scout

Server:
ERROR: Cannot connect to the Docker daemon at unix:///Users/peastman/.docker/run/docker.sock. Is the docker daemon running?
errors pretty printing info

Diagnostics ID

DA4A7E61-4B84-45D0-8CF0-2A3B585BAF43/20240509225841

Additional Info

No response

@voonyee
Copy link

voonyee commented May 10, 2024

Hi there, can you try a clean reinstallation to see if it helps?

  1. Uninstall Docker Desktop.

  2. Delete the below files (note that the below commands are destructive, meaning it will delete all your images, volumes, and any Docker related files on your system)
    rm -rf ~/Library/Group\ Containers/group.com.docker; rm -rf ~/Library/Containers/com.docker.docker; rm -rf ~/.docker

  3. Reinstall Docker Desktop.

@peastman
Copy link
Author

I still get the same error after doing the above.

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

3 participants