Here’s a corrected version of your forum post:
Issue:
Running systemctl --user start docker-desktop
produces no output and doesn’t launch Docker Desktop.
Context:
I’m trying to install Docker using the instructions provided here: Docker Installation Guide for Ubuntu. However, the systemctl
command doesn’t yield any result. Here are the outputs when I check the installation:
~$ docker compose version
Docker Compose version v2.28.1-desktop.1
~$ docker --version
Docker version 27.1.1, build 6312585
~$ docker version
Client: Docker Engine - Community
Version: 27.1.1
API version: 1.46
Go version: go1.21.12
Git commit: 6312585
Built: Tue Jul 23 19:57:14 2024
OS/Arch: linux/amd64
Context: desktop-linux
Cannot connect to the Docker daemon at unix:///home/<user>/.docker/desktop/docker.sock. Is the Docker daemon running?
After running systemctl --user status docker-desktop
, this is the output:
○ docker-desktop.service - Docker Desktop
Loaded: loaded (/usr/lib/systemd/user/docker-desktop.service; disabled; preset: enabled)
Active: inactive (dead)
Aug 12 09:39:48 localhost.localdomain com.docker.backend[11098]: [12:39:48.544473607Z][main.tasks ] all 1 tasks shutdown
Aug 12 09:39:48 localhost.localdomain com.docker.backend[11098]: [12:39:48.775341693Z][main.ipc ] shutting down dea977eb-ErrorReportAPI for component report on /home/sergio/.docker/desktop/error.reporter.sock on context done
Aug 12 09:39:48 localhost.localdomain com.docker.backend[11098]: [12:39:48.775402226Z][main.report ] context done, closing error server
Aug 12 09:39:48 localhost.localdomain com.docker.backend[11098]: [12:39:48.775561223Z][main.report ][W] removing error server socket: remove /home/sergio/.docker/desktop/error.reporter.sock: no such file or directory
Aug 12 09:39:48 localhost.localdomain com.docker.backend[11098]: [12:39:48.816455475Z][main ] shutting down analytics client
Aug 12 09:39:48 localhost.localdomain com.docker.backend[11098]: [12:39:48.816564949Z][main.segment ] exit requested – draining messages
Aug 12 09:39:48 localhost.localdomain com.docker.backend[11098]: [12:39:48.816611025Z][main.segment ] flushing 2 messages
Aug 12 09:39:48 localhost.localdomain com.docker.backend[11098]: [12:39:48.816641703Z][main.segment ] exit
Aug 12 09:39:49 localhost.localdomain com.docker.backend[11098]: [12:39:49.051718794Z][main.segment ] response 200 OK
Aug 12 09:39:49 localhost.localdomain systemd[2062]: docker-desktop.service: Consumed 1.237s CPU time.
Any assistance would be greatly appreciated.
Let me know if you need any further adjustments!