Server:
ERROR: Cannot connect to the Docker daemon at unix:///home/greg/.docker/desktop/docker.sock. Is the docker daemon running?
errors pretty printing info
Have a 64-bit version of either the latest LTS version (Ubuntu Jammy Jellyfish 22.04) or the current non-LTS version (Ubuntu Mantic Minotaur 23.10). Docker Desktop is supported on x86_64 (or amd64) architecture.
Ubuntu 24.04 is still beta and not mentioned among the supported operating systems. I still havenât installed Ubuntu 24.04 so I have no idea whether Docker Desktop should work on it or not.
When you start the GUI? Did you try to check system logs?
Doesnât just show âloadingâ but doesnât start at all?
Either way, without logs there is nothing I can say unfortunately. And I donât use DD for Linux enough to know what could go wrong. Have you tried Docker Desktop for Linux on supported Ubuntu versions as well?
Any luck here yet? I have the exact same problem. Ubuntu 24.04 Docker Desktop doesnât start. When clicking on the icon, no reaction. No Loading or errors or any reaction.
I had the same error with Docker Engine so the cause might not be the same, but Iâd previously set the service to depend on a network mount, which had seemingly been renamed during the upgrade. Try starting it from the terminal and see if it complains about a mount point not being found:
$ sudo service docker start
Failed to start docker.service: Unit media-share.mount not found.
If thatâs the case, you can run systemctl list-units --type=mount to get the updated name, then edit /etc/systemd/system/multi-user.target.wants/docker.service and edit the [Unit] block appropriately. Thereâs probably a way to reload changes but I did a reboot and docker came straight back up.
Thatâs what I donât think you can with Docker Desktop and even if you could, that is a virtual machine so you wouldnât see the logs of the daemon.
I see many of you have problems, but have any of you checked whether Docker Desktop is supported on Ubuntu 24.04 before you upgraded to it? See my previous reply
It doesnât mean they dropped it, but since the new LTS has many changes, they might have delayed a release that supports it. 24.04 is still pretty new, although they could have started to support it while it was beta. I donât know the reasons, but you can join the discussion on GitHub:
Docker desktop wonât work and it probably needs an update. But docker engine works but ONLY with sudo. So from what I have experienced docker ps will give you an error that canât connect to docker service but sudo docker ps works.
I think it has something to do with the new security features of Ubuntu 24.04 here https://ubuntu.com/blog/whats-new-in-security-for-ubuntu-24-04-lts. Itâs just sad that Docker didnât even try to fix this between the time of the beta release and the final release. They had 2 weeks time and nobody at Docker thought about testing it on 24.04?
Depends on the context. See docker context --help. If you have Docker DEsktop and Docker CE, you need to switch between contexts. If your user is not in the docker group, then indeed, you need to use sudo. When you use sudo, it will always use the default context since Docker Desktopâs context will not be available as root.
We donât know if they tried or not. The best that all of you can do is join the conversation in the issue on GitHub. And again, next time donât upgrade an OS when you donât know if all of the requirements are supported on the new one
But thanks for the link. I will read it later after work.