Joshua-Riek / ubuntu-rockchip

Ubuntu for Rockchip RK35XX Devices
https://joshua-riek.github.io/ubuntu-rockchip-download/
GNU General Public License v3.0
2.39k stars 257 forks source link

Ubuntu 24.04 Beta LTS - Docker Desktop not starting after install #735

Open wgrs opened 6 months ago

wgrs commented 6 months ago

I installed Docker Desktop latest version. https://docs.docker.com/desktop/install/ubuntu/#launch-docker-desktop

The install seemed to run correctly but Docker Desktop wont start.

I completely removed Docker and reinstalled, still no success.

Joshua-Riek commented 6 months ago

I've been able to user docker just fine from command line, but my guess is there is a problem with the desktop application.

wgrs commented 6 months ago

I've been able to user docker just fine from command line, but my guess is there is a problem with the desktop application.

Can you give the install procedure you used?

alessandroRoaro commented 6 months ago

I am also having this issue. I also noticed that if I try to run for example "docker ps -a" then the command gets stuck and nothing happens

Joshua-Riek commented 6 months ago

I installed docker from command line with sudo apt-get install docker.io and it works for me. How did you both install docker exactly?

wgrs commented 6 months ago

I installed docker from command line with sudo apt-get install docker.io and it works for me. How did you both install docker exactly?

Same. My issue is that I need Docker Desktop running. The daemon won't start.

othavioquiliao commented 6 months ago

I'm also having the same problem, the Docker Desktop (downloaded the .deb file directly from Docker) simply won't open, but it's working normally via terminal.

Joshua-Riek commented 6 months ago

Does anyone have logs of this behavior? I do not have time right now to test this out, but I can look through the logs if provided.

wgrs commented 6 months ago

Does anyone have logs of this behavior? I do not have time right now to test this out, but I can look through the logs if provided.

How do I get logs?

Freezystem commented 6 months ago

I am also having this issue. I also noticed that if I try to run for example "docker ps -a" then the command gets stuck and nothing happens

I fixed it by running: docker context use default It is explained here in this guide. Unfortunately it's fixing docker but it's not fixing docker desktop startup.

bonezee commented 6 months ago

I am also having this issue. I also noticed that if I try to run for example "docker ps -a" then the command gets stuck and nothing happens

I fixed it by running: docker context use default It is explained here in this guide. Unfortunately it's fixing docker but it's not fixing docker desktop startup.

Thank you - this guide helped me get docker via terminal working but still no joy with Docker Desktop, I'm waiting patiently for this bug to me fixed.

nathannli commented 6 months ago

@Joshua-Riek some logs: launching docker desktop via systemctl --user start docker-desktop

then following the logs via journalctl --user -u docker-desktop.service -f

Apr 26 16:57:22 ubuntu7950x systemd[1731]: Stopped docker-desktop.service - Docker Desktop.
Apr 26 16:57:30 ubuntu7950x systemd[1731]: Starting docker-desktop.service - Docker Desktop...
Apr 26 16:57:30 ubuntu7950x systemd[1731]: Started docker-desktop.service - Docker Desktop.
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.610641265Z][com.docker.backend.main][W] system telemetry disabled, custom otlp endpoint "https://desktop.observability-stage.docker.com" will be ignored
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.610843759Z][com.docker.backend.sys][I] maximum number of file descriptors is 1048576
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.610873228Z][com.docker.backend.compatibility][I] Virtualization enabled
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.610916067Z][com.docker.backend.migrations][I] running migrations
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.612917638Z][com.docker.backend.settingsloader][I] loaded settings
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.613009205Z][com.docker.backend][I] host will use proxy:  http_proxy=none https_proxy=none tcp_proxy=none noproxy=
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.613028754Z][com.docker.backend][I] Linux will use proxy:  http_proxy=none https_proxy=none tcp_proxy=none noproxy=
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.613034794Z][com.docker.backend][I] host will use proxy:  http_proxy=none https_proxy=none tcp_proxy=none noproxy=
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.613039754Z][com.docker.backend][I] Linux will use proxy:  http_proxy=none https_proxy=none tcp_proxy=none noproxy=
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614500301Z][com.docker.backend.state][I] sending desktop state:InitState
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614704865Z][com.docker.backend.component][I] registring publisher:{kubernetes}
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614717245Z][com.docker.backend.ipc][I] 54839609-kubernetes -> <HOME>/.docker/desktop/lifecycle-server.sock VMDockerdAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614729224Z][com.docker.backend.kubernetes][I] broadcasting Kubernetes event: [2024-04-26T16:57:30.610559357-04:00] (cffa9928) kubernetes disabled : Kubernetes is stopped
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614737514Z][com.docker.backend.tracker][I] sending event: desktopState
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614782733Z][com.docker.backend.ipc][I] fb95deba-PauseHDL -> /run/guest-services/procd.sock procd
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614794862Z][com.docker.backend.ipc][I] 5cfed482-registryaccessPKG -> <HOME>/.docker/desktop/backend.sock BackendAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614872740Z][com.docker.backend.ipc][I] 218a85e5-engines -> <HOME>/.docker/desktop/lifecycle-server.sock VMDockerdAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614884710Z][com.docker.backend.ipc][I] 7a91f898-serviceClientCLI ->  com.docker.service
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614911479Z][com.docker.backend.idle][I] initializing idle monitor
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614924089Z][com.docker.backend.ipc][I] 26433a47-idle -> /run/guest-services/lifecycle-server.sock lifecycle
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614932448Z][com.docker.backend.ipc][I] d6691b6b-idle -> <HOME>/.docker/desktop/virtualization.sock balloon
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614974897Z][com.docker.backend.ipc][I] 3890e38e-devenvs-heartbeat -> <HOME>/.docker/desktop/docker-dev-env-api.sock DevEnvsServer
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.614983457Z][com.docker.backend.ipc][I] 98514b24-volume-contents -> <HOME>/.docker/desktop/volume-contents.sock DockerVolumeServer
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.615073154Z][com.docker.backend.ipc][I] 5df2d879-DockerApiProxyBackendClient -> <HOME>/.docker/desktop/backend.sock BackendAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.615213920Z][com.docker.backend.ipc][I] 08a3ca49-DockerApiProxyVolumeApprover -> <HOME>/.docker/desktop/backend.sock BackendAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.615263179Z][com.docker.backend.ipc][I] 96205dc8-DockerApiProxyVolumeSharer -> <HOME>/.docker/desktop/backend.sock BackendAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.615269368Z][com.docker.backend.apiproxy][I] reinitializing: creating new proxies
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.615277148Z][com.docker.backend.apiproxy][I] creating Docker API proxy for Linux engine
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.615293258Z][com.docker.backend.apiproxy][I] since context is desktop-linux proxy will dial via internal network or AF_VSOCK
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.615305407Z][com.docker.backend.ipc][I] 2329a5e2-ProxyPKG -> <HOME>/.docker/desktop/backend.sock BackendAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.615318727Z][com.docker.backend.ipc][I] 4a0590c0-ProxyPKG -> <HOME>/.docker/desktop/backend.sock BackendAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.616011456Z][com.docker.backend.idle][I] initializing Docker API cache
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.616022276Z][com.docker.backend.idle][I] invalidated Docker API cache
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.616193291Z][com.docker.backend.ipc][I] 5df2d879-DockerApiProxyBackendClient /pause/state <-- [2024-04-26T16:57:30.616174152-04:00] (532ad4e5) ipc connecting : <nil>
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.616668757Z][com.docker.backend.ipc][I] 8676961d-WasmManager -> <HOME>/.docker/desktop/lifecycle-server.sock VMDockerdAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.616718325Z][com.docker.backend.ipc][I] 5b8d1daa-dns-forwarder -> <HOME>/.docker/desktop/dns-forwarder.sock dns-forwarder
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.616815803Z][com.docker.backend.ipc][I] 7263ce00-DockerHubHDL -> <HOME>/.docker/desktop/lifecycle-server.sock VMDockerdAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.616851472Z][com.docker.backend.ipc][I] b096934a-stats -> <HOME>/.docker/desktop/stats.sock stats
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.617127823Z][com.docker.backend.ipcstream][I] b4534b3d-BackendAPI /pause/state --> [2024-04-26T16:57:30.617018207-04:00] (826ff61b) pause resumed : init
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.617273869Z][com.docker.backend.ipc][I] fb95deba-PauseHDL /pause/events <-- [2024-04-26T16:57:30.617129483-04:00] (c6bd824c) ipc connecting : <nil>
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.617420235Z][com.docker.backend.procd][I] received state {IsPaused:false PauseText: PauseError: DockerAPI:stopped Docker:stopped Idle:running State:stopped Mode:linux SessionID:}
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.617743925Z][com.docker.backend.ipc][I] 8b261838-otelmgr -> <HOME>/.docker/desktop/backend.sock BackendAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.617765855Z][com.docker.backend.ipc][I] bb9fe3a1-otelmgr -> <HOME>/.docker/desktop/lifecycle-server.sock VMDockerdAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.617819243Z][com.docker.backend.tracing][I] No OTLP endpoint defined, tracing will not be enabled
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.619402716Z][com.docker.backend.clicontext][I] updated docker cli context desktop-linux
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.619428866Z][com.docker.backend.clicontext][I] switching context from desktop-linux -> desktop-linux
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.619554922Z][com.docker.backend.clicontext][I] switched to docker cli context desktop-linux
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.619737326Z][com.docker.backend.socketforward][I] adding listener for virtual address: backend
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.619821544Z][com.docker.backend.socketforward][I] adding listener for virtual address: 1999
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.619948240Z][com.docker.backend.socketforward][I] adding listener for virtual address: http-proxy
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620101406Z][com.docker.backend.socketforward][I] adding listener for virtual address: http-proxy-restricted
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620111365Z][com.docker.backend.socketforward][I] adding listener for virtual address: 3128
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620118265Z][com.docker.backend.socketforward][I] adding listener for virtual address: hubproxy
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620125615Z][com.docker.backend.socketforward][I] adding listener for virtual address: 5555
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620134625Z][com.docker.backend.socketforward][I] adding listener for virtual address: dns.internal/grpc
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620141385Z][com.docker.backend.socketforward][I] adding listener for virtual address: ntp
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620151014Z][com.docker.backend.socketforward][I] adding listener for virtual address: dns.system/grpc
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620189563Z][com.docker.backend.socketforward][I] adding listener for virtual address: gvisor
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620196863Z][com.docker.backend.socketforward][I] adding listener for virtual address: vpnkit-data
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620308720Z][com.docker.backend.ipc][I] ade842bc-BackendCMD -> <HOME>/.docker/desktop/backend.sock BackendAPI
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620872803Z][com.docker.backend.comdockerbuild][I] starting
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620905202Z][com.docker.backend.events][I] adding server timestamp to event (): 1714165050620891532 dockerAPI: starting (configuring proxies)
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620928501Z][com.docker.backend.stats][I] stats: waiting for running state
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620930071Z][com.docker.backend.idle][I] initializing cache for /run/guest-services/volume-contents.sock
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620958060Z][com.docker.backend.ipc][I] run (with context) b4534b3d-BackendAPI for component BackendCMD on backend
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620910952Z][com.docker.backend.feature-reloader][I] watching: feature[Harmonia] variant[] enabled[false]
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620943161Z][com.docker.backend.ipc][I] run (with context) b4534b3d-BackendAPI for component BackendCMD on <HOME>/.docker/desktop/backend.sock
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620995569Z][com.docker.backend.mutagen][I] performing initial housekeeping
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620945201Z][com.docker.backend.vpnkitcontrol][I] listening on vpnkit-data for data connection
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620881403Z][com.docker.backend.ipc][I] run (with context) bdd6c1bb-GUIAPI for component BackendCMD on <HOME>/.docker/desktop/backend.native.sock
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620962260Z][com.docker.backend.events][I] adding server timestamp to event (): 1714165050620950871
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621068587Z][com.docker.backend.grpcdns][I] system: starting
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620969400Z][com.docker.backend.grpcdns][I] internal: starting
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621059487Z][com.docker.backend.tasks][I] starting 1/1 docker serve --address
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621026458Z][com.docker.backend.ipc][I] run (with context) 4230d618-CLIAPI for component BackendCMD on <HOME>/.docker/desktop/docker-cli.sock
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621028808Z][com.docker.backend.tasks][I] starting 1/1 com.docker.build
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.620963380Z][com.docker.backend.statehandler][I] sending to Dashboard: starting
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621277571Z][com.docker.backend.apiproxy][I] created <HOME>/.docker/desktop/docker.sock
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621037998Z][com.docker.backend.mutagen][I] [sync] Looking for existing sessions
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621050938Z][com.docker.backend.otelmgr][I] starting collector: user_analytics[true] system_telemetry[false][https://desktop.observability-stage.docker.com]
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621060677Z][com.docker.backend.tasks][I] starting 1/1 com.docker.extensions -address <HOME>/.docker/desktop/extension-manager.sock -watchdog
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621122916Z][com.docker.backend.tasks][I] starting 1/1 com.docker.dev-envs -watchdog
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621341069Z][com.docker.backend.mutagen][I] [sync] Session manager initialized
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621366588Z][com.docker.backend.mutagen][W] attempt to create sublogger with invalid name
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621299990Z][com.docker.backend.statehandler][I] sending to Dashboard: starting
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621312580Z][com.docker.backend.apiproxy][I] serving the default engine on <HOME>/.docker/desktop/docker.sock
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621333019Z][com.docker.backend.otelmgr][I] collector starting: system[] user[<HOME>/.docker/desktop/user-analytics.otlp.grpc.sock]
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621518074Z][com.docker.backend.ipcstream][W] LastEvent: waiting for server to sync /pause/state
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621419877Z][com.docker.backend.idle][I] starting idle monitor
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621405117Z][com.docker.backend.tasks][I] started  1/1 docker
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621404927Z][com.docker.backend.tasks][I] started  1/1 com.docker.build
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621543223Z][com.docker.backend.tasks][I] started  1/1 com.docker.dev-envs
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621543753Z][com.docker.backend.tasks][I] started  1/1 com.docker.extensions
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621611881Z][com.docker.backend.tasks][I] writing to /opt/docker-desktop/bin/com.docker.dev-envs
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.621627371Z][com.docker.backend.tasks][I] writing to /opt/docker-desktop/bin/com.docker.extensions
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: 2024/04/26 16:57:30 building composeFlagMetricsConnector
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: 2024/04/26 16:57:30 starting connector
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.628100810Z][com.docker.backend.ipc][I] (b4e30bcc) b4534b3d-BackendAPI S<-C c221f688-desktop_extensions GET /ping
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.628169467Z][com.docker.backend.ipc][I] (b4e30bcc) b4534b3d-BackendAPI S->C c221f688-desktop_extensions GET /ping (52.328µs): {"serverTime":1714165050628116000}
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.628520907Z][com.docker.backend.ipc][I] (bba70af5) b4534b3d-BackendAPI S<-C c221f688-desktop_extensions GET /settings
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.628571136Z][com.docker.backend.ipc][I] (bba70af5) b4534b3d-BackendAPI S->C c221f688-desktop_extensions GET /settings (49.779µs)
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.628658353Z][com.docker.backend.ipc][I] (a7998065) b4534b3d-BackendAPI S<-C c9895cfa-desktop_extensions GET /forwards/list
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.628699322Z][com.docker.backend.ipc][I] (a7998065) b4534b3d-BackendAPI S->C c9895cfa-desktop_extensions GET /forwards/list (40.349µs): []
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.634488431Z][com.docker.backend.tasks.build][I] 2024-04-26 20:57:30 [I] starting desktop-build/v0.10.0-rc.1 go/1.21.8 linux/amd64
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.634514440Z][com.docker.backend.tasks.build][I] 2024-04-26 20:57:30 [I] setting PATH=/opt/docker-desktop/bin:/usr/local/bin:<HOME>/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.634520800Z][com.docker.backend.tasks.build][I] 2024-04-26 20:57:30 [I] bugsnag configured
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.634715774Z][com.docker.backend.tasks.build][I] 2024-04-26 20:57:30 [I] current docker context: desktop-linux
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.634957997Z][com.docker.backend.apiproxy][I] >> POST /grpc
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.639339108Z][com.docker.backend.tasks][E] supervisor detected that task has died with an error: shutdown with exit code 1: docker
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/supervisor/tasks.monitor({0x31a35a8, 0xc000600370}, {0xc0001497b0?, 0x2?}, 0xc00074d5f0)
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [        common/cmd/com.docker.backend/supervisor/tasks/supervisor.go:73 +0xf3
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/supervisor/tasks.Supervise.func2()
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [        common/cmd/com.docker.backend/supervisor/tasks/supervisor.go:47 +0xce
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/supervisor/tasks.Supervise in goroutine 245
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [        common/cmd/com.docker.backend/supervisor/tasks/supervisor.go:46 +0x1f3
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.639460174Z][com.docker.backend.tasks][I] shutting down 1 tasks
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.639466614Z][com.docker.backend.tasks][I] shutdown group 0/0: [docker]
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.639471434Z][com.docker.backend.tasks][I] all 1 tasks shutdown
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: 145265-Services.startCLIMetrics: supervising tasks: task failed: shutdown with exit code<INT>: docker
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.639553831Z][com.docker.backend.services][I] CLI metrics failed: supervising tasks: task failed: shutdown with exit code 1: docker
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.709475228Z][com.docker.backend.electron][E] electron shutdown by signal: trace/breakpoint trap
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/internal/electron.open.func1()
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [        common/cmd/com.docker.backend/internal/electron/electron.go:215 +0x2e7
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/internal/electron.open in goroutine 100
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [        common/cmd/com.docker.backend/internal/electron/electron.go:190 +0x34c
Apr 26 16:57:31 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:31.617485225Z][com.docker.backend.ipc][I] 5df2d879-DockerApiProxyBackendClient /pause/state <-- [2024-04-26T16:57:30.617018207-04:00] (826ff61b) pause resumed : init
Apr 26 16:57:31 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:31.617518914Z][com.docker.backend.ipc][I] 5df2d879-DockerApiProxyBackendClient /pause/state <-- [2024-04-26T16:57:31.617453796-04:00] (af4d93d8) ipc ready : <nil>
Apr 26 16:57:31 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:31.617537533Z][com.docker.backend.ipcstream][I] LastEvent: /pause/state server sync completed
Apr 26 16:57:31 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:31.617547903Z][com.docker.backend.apiproxy][I] >> HEAD /_ping
Apr 26 16:57:31 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:31.617602751Z][com.docker.backend.apiproxy][I] >> HEAD /_ping
Apr 26 16:57:35 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:35.611277462Z][com.docker.backend.segment][I] flushing 1 messages
Apr 26 16:57:35 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:35.612832117Z][com.docker.backend.tasks][I] done writing to /opt/docker-desktop/bin/com.docker.dev-envs
Apr 26 16:57:35 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:35.612832347Z][com.docker.backend.tasks][I] done writing to /opt/docker-desktop/bin/com.docker.extensions
Apr 26 16:57:35 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:35.893629253Z][com.docker.backend.segment][I] response 200 OK

install method: 1) download .deb file from https://docs.docker.com/desktop/install/ubuntu/ 2) add docker ppa from https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository 3) sudo apt install ./{deb file name}.deb 4) {for my system, i also did this} follow instructions to rm sudo from https://docs.docker.com/engine/install/linux-postinstall/

docker services work fine via terminal, but docker-desktop does not launch (gui)

Joshua-Riek commented 6 months ago

Looks like an internal problem with Docker desktop, I do not think this is something I can fix.

Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.639339108Z][com.docker.backend.tasks][E] supervisor detected that task has died with an error: shutdown with exit code 1: docker
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/supervisor/tasks.monitor({0x31a35a8, 0xc000600370}, {0xc0001497b0?, 0x2?}, 0xc00074d5f0)
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [        common/cmd/com.docker.backend/supervisor/tasks/supervisor.go:73 +0xf3
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/supervisor/tasks.Supervise.func2()
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [        common/cmd/com.docker.backend/supervisor/tasks/supervisor.go:47 +0xce
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/supervisor/tasks.Supervise in goroutine 245
wgrs commented 6 months ago

I've been able to user docker just fine from command line, but my guess is there is a problem with the desktop application.

I am testing from the command line. The docker daemon won't start.

wgrs commented 6 months ago

Looks like an internal problem with Docker desktop, I do not think this is something I can fix.

Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [2024-04-26T20:57:30.639339108Z][com.docker.backend.tasks][E] supervisor detected that task has died with an error: shutdown with exit code 1: docker
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/supervisor/tasks.monitor({0x31a35a8, 0xc000600370}, {0xc0001497b0?, 0x2?}, 0xc00074d5f0)
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [        common/cmd/com.docker.backend/supervisor/tasks/supervisor.go:73 +0xf3
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/supervisor/tasks.Supervise.func2()
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [        common/cmd/com.docker.backend/supervisor/tasks/supervisor.go:47 +0xce
Apr 26 16:57:30 ubuntu7950x com.docker.backend[16472]: [common/cmd/com.docker.backend/supervisor/tasks.Supervise in goroutine 245

Thanks for checking

k3bra commented 6 months ago

I'm having the same issue, also when I try to build the project on the terminal it just hangs there and nothing happen.

Spikhalskiy commented 6 months ago

Corresponding Docker Desktop bug report: https://github.com/docker/desktop-linux/issues/209 But it's actually an Electron issue https://github.com/electron/electron/issues/41066 with a workaround suggested in the comment https://github.com/electron/electron/issues/41066#issuecomment-1913509942