desktop-linux icon indicating copy to clipboard operation
desktop-linux copied to clipboard

Docker Desktop Fails to Launch on Debian 12 After Initial Open

Open Navid61 opened this issue 1 year ago • 4 comments

Description

When I open Docker Desktop on Debian 12, it opens only the first time. If I close it and try to open it again, it won't open.

Reproduce

Click on the Docker Desktop icon on Debian 12. Once it opens, close it. Then, try to run it again.

Expected behavior

No response

docker version

Client: Docker Engine - Community
 Version:           27.2.0
 API version:       1.47
 Go version:        go1.21.13
 Git commit:        3ab4256
 Built:             Tue Aug 27 14:15:15 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.2.0
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.21.13
  Git commit:       3ab5c7d
  Built:            Tue Aug 27 14:15:15 2024
  OS/Arch:          linux/amd64
  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

docker info

Client: Docker Engine - Community
 Version:    27.2.0
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.16.2-desktop.1
    Path:     /usr/lib/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.29.2-desktop.2
    Path:     /usr/lib/docker/cli-plugins/docker-compose
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.34
    Path:     /usr/lib/docker/cli-plugins/docker-debug
  desktop: Docker Desktop commands (Alpha) (Docker Inc.)
    Version:  v0.0.15
    Path:     /usr/lib/docker/cli-plugins/docker-desktop
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     /usr/lib/docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.25
    Path:     /usr/lib/docker/cli-plugins/docker-extension
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.5
    Path:     /usr/lib/docker/cli-plugins/docker-feedback
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.3.0
    Path:     /usr/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/lib/docker/cli-plugins/docker-sbom
  scout: Docker Scout (Docker Inc.)
    Version:  v1.13.0
    Path:     /usr/lib/docker/cli-plugins/docker-scout

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 27.2.0
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 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:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.1.0-23-amd64
 Operating System: Debian GNU/Linux 12 (bookworm)
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 19.1GiB
 Name: sigma
 ID: 74135e47-864c-440d-86b7-ab54c6a38854
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Diagnostics ID

F0AEE0A8-93AC-42C0-9D02-D2BDA8F05D90/20240831102917

Additional Info

No response

Navid61 avatar Aug 31 '24 10:08 Navid61

I am facing same issue use this command for temporary relief

systemctl --user force-reload docker-desktop

this will reload your docker desktop app not a permanent solution

pxycknomdictator avatar Feb 13 '25 08:02 pxycknomdictator

Still no fix?

anbiasenggagau avatar Mar 23 '25 08:03 anbiasenggagau

Still no fix?

I couldn't test it again because I encountered a bigger issue. On Debian 12 x64, Docker Desktop for Linux doesn't allow the Docker Engine to run when reopened. If that gets fixed, I'll check if this issue is resolved. Until then, I can't confirm whether it's fixed. If anyone else faced the same issue—where Docker Desktop wouldn't reopen after closing it—please share if it's resolved.

Navid61 avatar Mar 23 '25 09:03 Navid61

Hi, I am facing the same issue.

Os-release PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm

Client: Docker Engine - Community Version: 28.0.2 API version: 1.48 Go version: go1.23.7 Git commit: 0442a73 Built: Wed Mar 19 14:36:58 2025 OS/Arch: linux/amd64 Context: default

Server: Docker Engine - Community Engine: Version: 28.0.2 API version: 1.48 (minimum version 1.24) Go version: go1.23.7 Git commit: bea4de2 Built: Wed Mar 19 14:36:58 2025 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.26 GitCommit: 753481ec61c7c8955a23d6ff7bc8e4daed455734 runc: Version: 1.2.5 GitCommit: v1.2.5-0-g59923ef docker-init: Version: 0.19.0 GitCommit: de40ad0

jarcorwork avatar Mar 24 '25 18:03 jarcorwork

This is still an issue on my end as well, Debian 12. Docker Desktop UI is absolutely unusable as its unrealistic to delete the docker/desktop folder (which works but deletes all images of my projects etc) to get back to the license agreement screen, etc.