indramal
(Indramal Wansekara)
May 6, 2024, 7:32am
1
I installed Docker Desktop according to the instruction given int this link - Install Docker Desktop on Ubuntu | Docker Docs
OS - Ubuntu 24.04 (“Noble Numbat”)
When I run systemctl --user start docker-desktop
it is not opening. When I check in services, there are no services with docker-desktop name.
Docker is working fine. I can check docker images using sudo docekr ps
command.
How can I solve this issue? How should I troubleshoot this? @meyay
rimelek
(Ákos Takács)
May 6, 2024, 7:59am
2
You will probably not get a quicker response from a moderator or any helper by mentioning them. Check the following topic for a workaround and to find the related github issue:
Hi, been at this a few days now.
I upgraded to Ubuntu 24.04. I tried installing Docker Desktop and that would not run. No errors, just hangs.
Many many cleans and reinstalls later. Even docker hello-world wont run.
The error message I get is that the daemon wont start.
Cannot connect to the Docker daemon at unix:///home/greg/.docker/desktop/docker.sock. Is the docker daemon running?.
Shouldnt this be looking at /var/run/docker ?
docker info
Client:
Version: 24.0.7
Context: desktop…
As I wrote this many times, the documentation still doesn’t mention Ubuntu 24.04. A discussion is in progress about supporting it.
indramal
(Indramal Wansekara)
May 6, 2024, 9:34am
3
I already check below sites and I tried several suggestions. After that I post this because these are not working.
@sharifgh Then let’s continue this discussion in a new topic, because the installation guide of Docker on Ubuntu indeed includes Ubuntu 24.04, so that should work. Although even if Docker Desktop is not installed now, but it was, it is also possible that the context settings were not reset so you still need to switch context. If you open a new topic, I can give you some ideas. I can’t install Docker Desktop on Ubuntu 24.04 now to help, but I can try to install Docker CE in a virtual machine lat…
opened 08:18AM - 09 Jun 22 UTC
I have tried with the latest version of Docker Desktop
I have tried disabling … enabled experimental features
I have uploaded Diagnostics
INFO[0044] Uploaded diagnostics to: https://docker-pinata-support.s3.amazonaws.com/incoming/3/65d5994c-7ed7-4406-9851-23d54839b6bd/20220609081335.zip
Diagnostics ID: 65d5994c-7ed7-4406-9851-23d54839b6bd/20220609081335 (uploaded)
Expected behavior
Docker desktop starts up
Actual behavior
Message: Docker Desktop stopped
Information
Linux distro: 22.04 LTS
Distro version: Ubuntu
Docker Desktop Version: docker-desktop-4.9.0-amd64
Steps to reproduce the behavior
Install docker desktop
Docker desktop won't startup
Keep up the good work!
amd64 and x86_64 mean the same.
If you are looking for error messages that will probably not come when you start a service on Linux unless it is running in the foreground, but systemctl starts it in the background. systemctl --user status docker-desktop could tell you more about the status of the service.
https://www.reddit.com/r/docker/comments/129miky/docker_desktop_does_not_run_on_ubuntu_2004/
docker, 24.04
opened 01:15PM - 19 Apr 23 UTC
closed 01:08AM - 11 May 23 UTC
lifecycle/locked
- [x] I have tried with the latest version of Docker Desktop
- [x] I have tri… ed disabling enabled experimental features
- [x] I have uploaded Diagnostics
- Diagnostics ID: 381084be-d487-4593-9ebc-04f0744db019/20230419130501
### Expected behavior
Docker engine starts.
### Actual behavior
Docker engine does not start.
### Information
- Linux distro: Ubuntu
- Distro version: 22.04.2 LTS
- Docker Desktop Version: 4.18.0
After upgrading to Docker Desktop 4.18.0 from 4.16.2, the Docker Engine will not start when starting Docker Desktop. The "Starting Docker Engine..." message just spins continuously. See screenshot.
This is reproducible even after rebooting the laptop. This is on a native installation of Ubuntu 22.04.2 LTS on a Thinkpad Gen 9.
### Steps to reproduce the behavior
1. Install latest Docker Desktop 4.18.0 over 4.16.2 using `sudo apt install ./docker-desktop-4.18.0-amd64.deb`
2. Reboot native installation of Ubuntu
3. After logging in, click Docker Desktop icon
![image](https://user-images.githubusercontent.com/6590854/233085437-7c2dbc3c-0593-4214-854b-b50b404d9911.png)
I found these:
can not find this file /etc/xdg/systemd/user/docker-desktop.service
Not run docker-desktop.service
service
No file in /etc/systemd/system/multi-user.target.wants/docker.service
*Docker run but not docker desktop
systemctl --user start docker-desktop
and systemctl --user force-reload docker-desktop
not working
When run /opt/docker-desktop/bin/com.docker.backend
, it show only staring the docker engine.
This not working systemctl --user enable docker-desktop
KVM virtualization check using lsmod | grep kvm
. It is ok.
This commands only works but temporary.
$ sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
$ systemctl --user restart docker-desktop
rimelek
(Ákos Takács)
May 6, 2024, 7:00pm
4
Yes. And there is a solution for that in the topic I linked.
I won’t be able to help you in a new topic either. We can’t fix it. Docker Desktop is not mentioned in the documentation. The issue is known so it is up to the developers to fix it. As you can see on GitHub , even when the author of the issue set the kernel parameter, Docker Desktop was not stable after some time.