Skip to content

Docker is not starting #6980

Closed
Closed

Description

@berserker5000

Description

MacOS: Ventura 13.5.2 (22G91) (intel chip)
Docker Desktop: unable to check because it is not loading even. (downloaded from docker.com on September 15, 2023)
Docker Engine: 24.0.6

After upgrading to the latest version of docker, the docker daemon cannot start and docker is not working anymore.

Reproduce

docker ps

Expected behavior

docker ps should show me all running containers, instead I'm getting
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

docker version

Client: Docker Engine - Community
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.21.0
 Git commit:        ed223bc820
 Built:             Thu Aug 31 17:24:32 2023
 OS/Arch:           darwin/amd64
 Context:           default
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

docker info

Client: Docker Engine - Community
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2-desktop.4
  compose: Docker Compose (Docker Inc.)
    Version:  v2.21.0-desktop.1
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.20
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v0.1.0-beta.7
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
  scan: Docker Scan (Docker Inc.)
    Version:  v0.26.0
  scout: Command line tool for Docker Scout (Docker Inc.)
    Version:  0.24.1

Diagnostics ID

unable to generate

Additional Info

No response

Activity

  1. bsousaa commented on Sep 15, 2023

    @bsousaa
    Contributor
  2. berserker5000 commented on Sep 15, 2023

    @berserker5000
    Author

    @bsousaa thanks for the link.
    Diagnostics ID: 80E0E690-5DAF-42DF-9273-DDC7D6814A94/20230915151900

  3. faozimipa commented on Sep 16, 2023

    @faozimipa

    I have same issue
    Diagnostics ID:73380EE5-A7B4-4A59-B5C9-2984F517CB38/20230916090938

  4. nopparuts commented on Sep 18, 2023

    @nopparuts

    I have same issue
    Diagnostics ID: F18A48FB-9895-48D0-8D62-A3A5F8E7168F/20230918024707

  5. cugarteblair commented on Sep 18, 2023

    @cugarteblair

    I have the same issue. Macos v13.5.2. M1 silicon
    Diagnostics ID: 8D05BA32-0BB9-484E-AD17-D165843A6C23/20230918221039 (uploaded)

  6. Alex009 commented on Sep 19, 2023

    @Alex009

    same issue
    E332082F-F924-4F5D-A78B-256C7B3D6F73/20230919040322

    i also try to downgrade at 4.22.1 but nothing change :(

  7. PrinceFrosty commented on Sep 19, 2023

    @PrinceFrosty

    I have the same issue on an M1
    Diagnostics ID:020B1843-C806-4A6C-81FF-EC830FD8A40C/20230919045105

  8. berserker5000 commented on Sep 19, 2023

    @berserker5000
    Author

    @Alex009 I tried to download previous versions of DD and had no luck with any of those. I have no idea what to do because I currently can't use Docker. Please let me know if you would find any version from the previous versions because I need docker for my work. Currently, I'm using AWS machines with docker to build images.

  9. Alex009 commented on Sep 19, 2023

    @Alex009

    @berserker5000 i am exactly in same situation. yesterday my old version of docker works, then i press update and now docker on my machine not work at all. 4.23.0 and 4.22.1 versions.
    if you find some workaround - let me know too :)

  10. 56 remaining items

  11. trensen commented on Nov 24, 2023

    @trensen

    I removed all entries in filesharingDirectories, rebooted and it's not launching on startup still.

    MacOS Sonoma 14.1.1
    Apple M2 Pro Chip

    Client: "Docker Desktop 4.25.2 (129061) is currently the newest version available."

    Diagnostic 75C4DEF8-BABB-47C8-B733-484A66183273/20231124054020

  12. bsousaa commented on Nov 24, 2023

    @bsousaa
    Contributor

    @trensen can you factory reset?

  13. trensen commented on Nov 24, 2023

    @trensen

    @trensen can you factory reset?

    I just did and rebooted, but it's still not automatically starting. Also tried a "Clean / Purge data", but this didn't do the trick either unfortunately...

  14. bsousaa commented on Nov 24, 2023

    @bsousaa
    Contributor

    @trensen, are you talking about automatic start after login? See this issue #7052

  15. kjdeluna commented on Nov 26, 2023

    @kjdeluna

    Still experiencing this issue. Also can confirm that using 4.22.1 version is working well

  16. trensen commented on Nov 27, 2023

    @trensen

    @trensen, are you talking about automatic start after login? See this issue #7052

    Thanks, hopefully it's fixed in the next version 🤞

  17. shiruken1 commented on Dec 2, 2023

    @shiruken1

    Just upgraded to 4.25.2 and facing this issue. M1 chip OSX 12.2.1

  18. shiruken1 commented on Dec 2, 2023

    @shiruken1

    Upgraded 14.1.2 and now it works

  19. trensen commented on Dec 5, 2023

    @trensen

    I can confirm that updating to 4.26.0 fixes the issue for me

  20. Luckyfella73 commented on Dec 5, 2023

    @Luckyfella73

    I wasn't able to start Docker Desktop either after pressing the restart-and-update button. Had Docker installed as Brew cask. Uninstalling via Brew brew uninstall --cask docker and installing a fresh copy of Docker brew install --cask docker worked for me. Had to manually delete /usr/local/bin/docker-index file though (got an error when trying to install Docker in the first run).

    M1
    macOS 12.6.3

  21. eugeneYWang commented on Dec 15, 2023

    @eugeneYWang

    Just upgraded to 4.25.2 and facing this issue. M1 chip OSX 12.2.1

    4.24 had no issue at all. M1 MAX macOS

  22. Emanuele-Spatola commented on Mar 7, 2024

    @Emanuele-Spatola

    Unable to run docker after the last update. Please help! 🙏
    Mac OS: 12.7.3
    Docker Desktop: 4.27.2 / Intel chip
    Diagnostics ID: 7B3C9900-32C3-446B-858F-5858B84DA853/20240307085440

  23. vladmiller commented on Apr 10, 2024

    @vladmiller
    [2024-04-10T15:37:45.062574000Z][com.docker.virtualization][I] VM has stopped: Invalid virtual machine configuration. The storage device attachment is invalid.
    [2024-04-10T15:37:45.062643000Z][com.docker.virtualization][I] Searching for crashes after error Invalid virtual machine configuration. The storage device attachment is invalid.
    [2024-04-10T15:37:55.075127000Z][com.docker.virtualization][I] pairConnections returned context canceled
    [2024-04-10T15:37:55.075041000Z][com.docker.virtualization.ipc][I] shutting down e3c1a178-VirtualizationAPI for component com.docker.virtualization on <HOME>/Library/Containers/com.docker.docker/Data/virtualization.sock on context done
    [2024-04-10T15:37:55.075282000Z][com.docker.virtualization][I] sendConnections returned <nil>
    [2024-04-10T15:37:55.076012000Z][com.docker.virtualization][I] Requesting VM termination
    [2024-04-10T15:37:55.076089000Z][com.docker.virtualization.ipc][W] shutting down e3c1a178-VirtualizationAPI for component com.docker.virtualization: close unix <HOME>/Library/Containers/com.docker.docker/Data/virtualization.sock: use of closed network connection
    [2024-04-10T15:37:55.076049000Z][com.docker.virtualization][I] runAPI returned <nil>
    [2024-04-10T15:37:55.086585000Z][com.docker.virtualization][I] vz.RunApplication returned
    [2024-04-10T15:37:55.087026000Z][com.docker.virtualization][E] com.docker.virtualization: Invalid virtual machine configuration. The storage device attachment is invalid.
    [goroutine 1 [running, locked to thread]:
    [main.main()
    [       mac/backend/cmd/com.docker.virtualization/main.go:143 +0xa90
    

    The thing crashes after a while when using Earthly to build some images. Docker just hangs, I can't remove any containers, can refresh or whatever. When I try to restart docker it would just crash and offer to reset to factory defaults.
    But docker works after reset for a few more builds and then crashes again.

    Version: 4.28.0 (139021)
    Engine: 25.0.3

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