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

i can't run docker desktop

Open moh0009 opened this issue 1 year ago • 0 comments

Description

when i run docker desktop it shows me this error : running engine: waiting for the Docker API: engine linux/qemu failed to run: running VM: qemu: process terminated unexpectedly: signal: aborted (core dumped)

i tested several ways to run docker desktop but gives me the same error

./com.docker.diagnose check Starting diagnostics

[2024-11-28T19:26:46.446986756Z][com.docker.diagnose.ipc] 101f68b1-diagnose -> <HOME>/.docker/desktop/backend.sock BackendAPI [2024-11-28T19:26:46.448371824Z][com.docker.diagnose.ipc] (736771c3) 101f68b1-diagnose C->S BackendAPI POST /idle/make-busy [2024-11-28T19:26:46.449302931Z][com.docker.diagnose.ipc][W] (736771c3) 101f68b1-diagnose C<-S ConnectionClosed POST /idle/make-busy (1.062887ms): Post "http://ipc/idle/make-busy": dial unix <HOME>/.docker/desktop/backend.sock: connect: connection refused [2024-11-28T19:26:47.448253436Z][com.docker.diagnose.ipc] (736771c3-2) 101f68b1-diagnose C->S BackendAPI GET /idle [2024-11-28T19:26:47.448721334Z][com.docker.diagnose.ipc][W] (736771c3-2) 101f68b1-diagnose C<-S ConnectionClosed GET /idle (483.658µs): Get "http://ipc/idle": dial unix <HOME>/.docker/desktop/backend.sock: connect: connection refused [PASS] DD0038: are KVM user permissions configured? [PASS] DD0018: does the host support virtualization? [FAIL] DD0001: is the application running? Docker is not running [FAIL] DD0017: can a VM be started? vm has not started: vm has not started [FAIL] DD0016: is the LinuxKit VM running? prereq failed: is the application running? [FAIL] DD0004: is the Docker engine running? prereq failed: is the LinuxKit VM running? [PASS] DD0015: are the binary symlinks installed? [FAIL] DD0031: does the Docker API work? prereq failed: is the Docker engine running? [PASS] DD0013: is the $PATH ok? [FAIL] DD0034: is Context set to a Docker Desktop context? CLI context is set to docker-ce engine [FAIL] DD0003: is the Docker CLI working? prereq failed: is the Docker engine running? [FAIL] DD0037: is the connection to Docker working? prereq failed: is the Docker engine running? [FAIL] DD0014: are the backend processes running? prereq failed: is the LinuxKit VM running? [FAIL] DD0007: is the backend responding? prereq failed: are the backend processes running? [FAIL] DD0010: is the Docker API proxy responding? prereq failed: are the backend processes running? [FAIL] DD0030: is the image access management authorized? prereq failed: is the Docker engine running? [WARN] DD0036: is the credentials store configured correctly? Error: password store is empty. Try "pass init".

[PASS] DD0033: does the host have Internet access? [PASS] DD0038: are KVM user permissions configured? [PASS] DD0018: does the host support virtualization? [WARN] DD0001: is the application running? Docker is not running [WARN] DD0017: can a VM be started? vm has not started: vm has not started [WARN] DD0016: is the LinuxKit VM running? prereq failed: is the application running? [WARN] DD0004: is the Docker engine running? prereq failed: is the LinuxKit VM running? [PASS] DD0015: are the binary symlinks installed? [WARN] DD0031: does the Docker API work? prereq failed: is the Docker engine running? [WARN] DD0032: do Docker networks overlap with host IPs? prereq failed: does the Docker API work?

Please note the following 7 warnings:

1 : The check: is the credentials store configured correctly? Produced the following warning: Error: password store is empty. Try "pass init".

The Credential Store is not set up correctly.

See https://docs.docker.com/desktop/get-started/#credentials-management-for-linux-users

2 : The check: is the application running? Produced the following warning: Docker is not running

Is the Docker Desktop application running?

3 : The check: can a VM be started? Produced the following warning: vm has not started: vm has not started

The Docker engine runs inside a Linux VM. Therefore we must be able to start Virtual Machines.

4 : The check: is the LinuxKit VM running? Produced the following warning: prereq failed: is the application running?

The Docker engine runs inside a Linux VM. Therefore the VM must be running.

5 : The check: is the Docker engine running? Produced the following warning: prereq failed: is the LinuxKit VM running?

The Docker engine manages all containers and images on the host. Check the dockerd.log to see why it failed to start.

6 : The check: does the Docker API work? Produced the following warning: prereq failed: is the Docker engine running?

If the Docker API is not available from the host then Docker Desktop will not work correctly.

7 : The check: do Docker networks overlap with host IPs? Produced the following warning: prereq failed: does the Docker API work?

If the subnet used by a Docker network overlaps with an IP used by the host, then containers won't be able to contact the overlapping IP addresses.

Try configuring the IP address range used by networks: in your docker-compose.yml. See https://docs.docker.com/compose/compose-file/compose-file-v2/#ipv4_address-ipv6_address

Please investigate the following 3 issues:

1 : The test: is the application running? Failed with: Docker is not running

Is the Docker Desktop application running?

2 : The test: can a VM be started? Failed with: vm has not started: vm has not started

The Docker engine runs inside a Linux VM. Therefore we must be able to start Virtual Machines.

3 : The test: is Context set to a Docker Desktop context? Failed with: CLI context is set to docker-ce engine

If the Docker Context is set to 'default', docker CLI is not addressing Docker Desktop engine.

Reproduce

just by running the app

Expected behavior

No response

docker version

Client:
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:39:44 2024
 OS/Arch:           linux/amd64
 Context:           desktop-linux

docker info

Client:
 Version:    27.3.1
 Context:    default
 Debug Mode: false
 Plugins:
  ai: Ask Gordon - Docker Agent (Docker Inc.)
    Version:  v0.1.0
    Path:     /usr/lib/docker/cli-plugins/docker-ai
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.18.0-desktop.2
    Path:     /usr/lib/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.30.3-desktop.1
    Path:     /usr/lib/docker/cli-plugins/docker-compose
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.37
    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.27
    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.4.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.15.0
    Path:     /usr/lib/docker/cli-plugins/docker-scout

Diagnostics ID

870781E7-D13A-4667-9744-10093B132644/20241128192839

Additional Info

No response

moh0009 avatar Nov 28 '24 19:11 moh0009