docker / for-mac

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

docker doesnt show anything nor works #7040

Open RaitonGG opened 12 months ago

RaitonGG commented 12 months ago

Description

running macOS 12.1, opening docker it just says "Docker Engine stopped" pressing the icon shows docker desktop is stopped

running docker-compose up on a terminal trows > "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"

image

image

Reproduce

open docker

Expected behavior

No response

docker version

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Client:
 Cloud integration: v1.0.35+desktop.5
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:28:49 2023
 OS/Arch:           darwin/arm64
 Context:           default

docker info

Client:
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2-desktop.5
    Path:     /Users/andre/.docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.22.0-desktop.2
    Path:     /Users/andre/.docker/cli-plugins/docker-compose
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     /Users/andre/.docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.20
    Path:     /Users/andre/.docker/cli-plugins/docker-extension
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v0.1.0-beta.8
    Path:     /Users/andre/.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/andre/.docker/cli-plugins/docker-sbom
  scan: Docker Scan (Docker Inc.)
    Version:  v0.26.0
    Path:     /Users/andre/.docker/cli-plugins/docker-scan
  scout: Docker Scout (Docker Inc.)
    Version:  v1.0.7
    Path:     /Users/andre/.docker/cli-plugins/docker-scout

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

Diagnostics ID

DD6DBC1B-91B1-4C9D-86E4-8AF6E3E31347/20231024102715

Additional Info

No response

mediodepan commented 12 months ago

Have same issue on macOS 12.3.1

fsc-eriker commented 12 months ago

Are you able to open the Settings? Do you have Resource Saver running? Mine seems to get stuck if it enters Resource Saver mode.

mediodepan commented 12 months ago

Are you able to open the Settings? Do you have Resource Saver running? Mine seems to get stuck if it enters Resource Saver mode.

hmm... actually i don't remember having Resource Saver running ¿That solve your problem? I was in a rush and the only way I could make it work was downgrading to version 4.22.1 (118664)

shawnh-burst commented 12 months ago

For me"Docker Engine is Stopped" is displayed in the client for 24.0.2, 24.0.1, but not 24.0.0 (crashes immediately)

24.0.2 the client hangs on docker is starting up for an indefinite amount of time 24.0.1 the client hangs on docker is starting up but the client eventually crashes 24.0.0 the client flashes but crashes immediately Downgrade to 23.0.0 is working for me.

fsc-eriker commented 12 months ago

Are you able to open the Settings? Do you have Resource Saver running? Mine seems to get stuck if it enters Resource Saver mode.

hmm... actually i don't remember having Resource Saver running ¿That solve your problem? I was in a rush and the only way I could make it work was downgrading to version 4.22.1 (118664)

I am still experimenting, I turned it off yesterday but so far it seems to have helped (upgraded to 4.24.2 yesterday, too; MacOS Sonoma 14.0 running on an Intel MacBook Pro).

ejirocodes commented 12 months ago

I fixed this by reinstalling docker desktop app for macOS and also restarting my computed :)