0% found this document useful (0 votes)
81 views17 pages

Cannot Get Docker Desktop To Run On Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Uploaded by

madzaloresten8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views17 pages

Cannot Get Docker Desktop To Run On Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Uploaded by

madzaloresten8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.

04 - Docker Desktop - Docker Community Forums

Cannot get Docker Desktop to run on Ubuntu 24.04


linux

grsw60 (Grsw60) 1 April 23, 2024, 12:10pm

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-linux
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.14.0
Path: /usr/libexec/docker/cli-plugins/docker-buildx

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

2 Likes

Docker desktop not working on Ubuntu 24.04

Docker Desktop Service not showing and not run in Ubuntu 24.04 ("Noble Numbat")

How soon can we have a desktop release for Ubuntu 24.04

rimelek (Ákos Takács) 2 April 23, 2024, 7:27pm

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 1/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Status Security Legal Contact


Install Docker Desktop on Ubuntu
Learn how to install, launch and upgrade Docker Desktop on Ubuntu. This quick guide will cover
prerequisites, installation methods, and more.

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.

grsw60:

No errors, just hangs.

When you start the GUI? Did you try to check system logs?

grsw60 (Grsw60) 3 April 23, 2024, 7:31pm

The GUI doesnt start. Thats the problem.

rimelek (Ákos Takács) 4 April 23, 2024, 7:36pm

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?

1 Like

grsw60 (Grsw60) 5 April 23, 2024, 7:45pm

Yes. I used Docker Desktop on previous version of Ubuntu no problem

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 2/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Status Security Legal Contact


sharifgh (Sharifgh) 6 April 26, 2024, 7:14am

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.

1 Like

nirwannursabda (Nirwannursabda) 7 April 26, 2024, 10:17am

Yeah. Docker desktop not working yet on ubuntu 24.04. Please help

1 Like

alisamie97 (Alisamie97) 8 April 26, 2024, 1:17pm

I have the same issue and I just upgraded to ubuntu 24.04


I want to roll back to 23 and try again

mdsadiqueinam (Md Sadique Inam) 9 April 26, 2024, 2:24pm

event the docker-cli is not working in ubuntu24.04

almejo (Alejandro Vera) 10 April 26, 2024, 5:31pm

Same for me… I think we will have to wait for a new version?

maximumfish (Maximumfish) 11 April 27, 2024, 8:22pm

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:

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 3/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

$ sudo service docker start Status Security Legal Contact


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.

Hope that helps someone!

1 Like

rimelek (Ákos Takács) 12 April 27, 2024, 9:11pm

maximumfish:

Try starting it from the terminal

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

Cannot get Docker Daemon to run on Ubuntu 24.04

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?

grsw60 (Grsw60) 14 April 27, 2024, 9:18pm

Install Docker Desktop on Ubuntu


Learn how to install, launch and upgrade Docker Desktop on Ubuntu. This quick guide will cover
prerequisites, installation methods, and more.

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 4/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Status Security Legal Contact


rimelek (Ákos Takács) 15 April 27, 2024, 9:19pm

And where does it mention Ubuntu 24.04?

grsw60 (Grsw60) 16 April 27, 2024, 9:21pm

Its doesnt but they would not just drop docker support without a statement to that effect.

rimelek (Ákos Takács) 17 April 27, 2024, 9:25pm

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 STOPPED WORKING AFTER UPGRADING UBUNTU FROM


23.10 TO 24.04
needs-triage

opened 09:24AM - 27 Apr 24 UTC md-owes

### Description

I upgraded my Ubuntu OS from 23.10 to 24.04 via `sudo do-releas …

Docker-desktop cannot start properly after installing Ubuntu 24.04

grsw60 (Grsw60) 18 April 27, 2024, 9:28pm

Will do thanks a lot

codyharsh (Codyharsh) 19 April 28, 2024, 6:48pm

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 5/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Status Security Legal Contact


I have also tried with 24.04 LTS version. The GUI is not starting at all. When It will be available or how to resolve
this error.

1 Like

sharifgh (Sharifgh) 20 April 29, 2024, 7:48am

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?

1 Like

rimelek (Ákos Takács) 21 April 29, 2024, 9:33am

sharifgh:

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.

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.

sharifgh:

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?

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

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 6/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

But thanks for the link. I will read it later after work.
Status Security Legal Contact

sharifgh (Sharifgh) 22 April 29, 2024, 9:42am

I have no Docker Desktop installed. Just the Docker engine. And yes I have added my user to the docker
group and after adding my user, docker commands without sudo work. But when I restart it somehow gets
removed again. I built my containers without sudo and for that session, I can could work with them(start, stop
etc.) but only for that session. As soon as I restart, it’s only accessible with sudo privileges.

grsw60 (Grsw60) 23 April 29, 2024, 10:07am

Dockers documentation specifically says 24.04 is supported.

Its broken, plain and simple.

rimelek (Ákos Takács) 24 April 29, 2024, 8:06pm

You wrote about Docker Desktop in your first post and I quoted the documentation where Ubuntu 24.04 is not
mentioned. Then I quoted my post in which I quoted the documentation. The topic is in the Docker Desktop for
Linux category, so we talk about Docker Desktop. Should it be supported or not, Ubuntu 24.04 is not mentioned
in the documentation. Which is at least suspicious. But I noted that I have no idea whether the developers
intended to support the latest release and it is a bug or they just forgot to update the documentation. So this part
is not as plain as simple actually, but the fact that the version is not mentioned in the documentation is still a
fact.

Docker CE is another story. That works differently, so it should be discussed in a different topic even if the root
cause of both is systemd. One starts a virtual machine, and the other starts multiple components on the host
directly. I know that the GUI sometimes show “Docker Engine is starting”, but that means it is starting in the
virtual machine which so the solution will not be the same. The topic title could be confusing when someone
doesn’t read the category in which the topic is in so I’m going to change it to make it more obvious that here we
are talking about the Desktop.

rimelek (Ákos Takács) 25 April 29, 2024, 8:07pm

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 7/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Status Security Legal Contact


sharifgh:

I have no Docker Desktop installed. Just the Docker engine.

@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 later.

Docker Desktop Service not showing and not run in Ubuntu 24.04 ("Noble Numbat")

nadz13 (nadjib chiheb) 26 April 29, 2024, 8:29pm

The temporary workaround is

$ sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0


$ systemctl --user restart docker-desktop

https://www.reddit.com/r/docker/comments/1c9rzxz/comment/l1u2h3x/?
utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_butt
on

8 Likes

rimelek (Ákos Takács) 27 April 29, 2024, 8:38pm

Thank you for sharing the link. Good to know that it was a question 8 days ago on Reddit, but it links to the
same issue on GitHub I recommended to follow. I don’t know if it is a coincidence that you share it minutes after
I change the topic title to similar to the one on Reddit.

sharifgh (Sharifgh) 28 April 29, 2024, 10:23pm

Yes I removed the engine completely and installed Docker Desktop and ran those commands mentioned by
@nadz13 and it works.

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 8/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

You think it’s a good idea to make it persistent in /etc/sysctl.conf or we should deal with it till docker comes up
Status Security Legal Contact
with an update?

Docker Desktop Service not showing and not run in Ubuntu 24.04 ("Noble Numbat")

lincolngibson7832 (lincoln gibson) 29 April 30, 2024, 2:11pm

Thanks for providing the work around, it was very helpful.

grsw60 (Grsw60) 30 April 30, 2024, 3:09pm

I just downloaded 4.29.0 version of docker desktop and it seems to be working out of the box

rimelek (Ákos Takács) 31 April 30, 2024, 9:06pm

Good to see that there is a working solution! I would say you could make that setting persistent if you don’t want
to run it every time you reboot your machine, but write a note to yourself somewhere to remember you did it and
check the documentation from time to time. If the same solution is added to the installation instruction, you can
keep it. If a new Docker Desktop release can solve it automatically, remove the setting from the file and let
Docker Desktop solve it for you.
By the way I tested Docker Engine without the Desktop today and worked without any issue on Ubuntu 24.04,
so it was indeed a Docker Desktop issue.

kiabo (Kiabo) 32 April 30, 2024, 9:43pm

Thanks!!! It works for me too!!

kiabo (Kiabo) 33 May 1, 2024, 12:20pm

There is another topic open on Docker Support requesting this. It would be cool if we all reported the problem
there too to speed up the process.

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 9/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Status Security Legal Contact


SUPPORT UBUNTU 24.04
community_new

opened 10:40AM - 26 Apr 24 UTC vacla

Tell us about your request?


Docker desktop official support for ubuntu 24.04

2 Likes

grsw60 (Grsw60) 34 May 1, 2024, 4:12pm

Today , after a reboot , its stopped working again. Sorry, false hope.

oferdiari (Oferdiari) 35 May 1, 2024, 7:16pm

added kernel.apparmor_restrict_unprivileged_userns=0
to /etc/sysctl.conf fixed the problem on ubuntu 24.04 lts

3 Likes

Docker Desktop Service not showing and not run in Ubuntu 24.04 ("Noble Numbat")

khoiphanngoc89 (Khoiphanngoc89) 36 May 6, 2024, 8:16am

Thanks, it works for me too

jsiqbal (Gokraken) 37 May 6, 2024, 1:54pm

I experimented it. it doesn’t work on ubuntu 24.04, I am having this problem from the day first.
someone needs to fix the issue… please do something about this…

I am attaching the crash report in my system… you can debug using this.
https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 10/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Status Security Legal Contact


khoiphanngoc89 (Khoiphanngoc89) 38 May 7, 2024, 2:07am

you need to run the command again

nguyenhuynh1501 (Đạt Gia) 39 May 9, 2024, 1:55am

I have also tried with 24.04 LTS version. Docker doesn’t work on Ubuntu 24.04. I mean docker won’t start.

nguyenhuynh1501 (Đạt Gia) 40 May 9, 2024, 1:57am

It works for me too ! Thanksssssssssssss !!!

mikeluigijean97 (Mike Luigi Jean) 41 May 24, 2024, 10:37pm

Thank you, this tempory workaround works greatly for running docker desktop on ubuntu 24.04 LTS, even if it
needs to be run after every reboot.

I recommend to run it manually, cause it is about disabling a new security features from Ubuntu. It doesn’t
sound great to disable it by default for everyting after each reboot just to run docker, which I think will fix that
soon.

partyk1d24 (Partyk1d24) 42 May 25, 2024, 12:26am

I am running Ubuntu 24 with Docker-desktop-4.30.0-amd64.deb

The workaround gets it to start but I don’t see any of the containers I see in docker ps -a

for example

partyk1d24@igoy:~$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0d37886050e0 e784f4560448 “/docker-entrypoint.…” 6 days ago Up 14 minutes 0.0.0.0:80->80/tcp, :::80-
>80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp nginx
458c5c5ce77d abeda236c4f0 “/init” 6 days ago Up 14 minutes 0.0.0.0:8123->8123/tcp, :::8123->8123/tcp

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 11/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

homeassistant
Status Security Legal Contact
77ff82956627 3d9dd5a7695e “/opt/docker-entrypo…” 6 days ago Up 14 minutes (healthy) 0.0.0.0:1883-
>1883/tcp, :::1883->1883/tcp, 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 0.0.0.0:8080->8080/tcp, :::8080-
>8080/tcp hivemq

But none in docker desktop

lagaguate (Luis Gutierrez) 43 June 14, 2024, 8:43pm

Today I decided to upgrade Ubuntu 24.04 (2024-06-14), and I had a problem with the desktop. Your contribution
helped me, thank you.

oussama109 (Oussema Chercheri) 44 July 13, 2024, 10:59am

Thank you it woks for me

leenve (Leendert Vermeulen) 45 July 17, 2024, 5:17pm

Seems to start, but I can not sign in! Anyone with the same problem and/or solution?

Cheers,
Leendert
The Netherlands

leenve (Leendert Vermeulen) 46 July 17, 2024, 5:19pm

And can you sign in in docker-desktop?


I can’t.

Cheers,
Leendert
The Netherlands

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 12/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Status Security Legal Contact


cdtenzi (Cdtenzi) 47 July 18, 2024, 8:22am

I was fighting the same problem for about 2 hours until I found the solution here: Install Docker Desktop on
Ubuntu | Docker Docs

inside the pre-requisites NOTE, says you need to run the following command at least once:
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

Best

1 Like

abbasiabolfazl (Abolfazl Abbasi) 48 July 23, 2024, 6:42pm

I used these commands after installing:

$ sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0


$ systemctl --user restart docker-desktop

2 Likes

mehtachandrashekhar11 (Chandrashekhar) 52 September 29, 2024, 10:10am

Docker Desktop is not working on Ubuntu 24.04 LTS ?


Upgrading to Ubuntu 24.04 LTS may cause problems with Docker Desktop. Follow these steps to
resolve...

read this to resolve issue.

rimelek (Ákos Takács) 53 September 29, 2024, 10:58am

I saw you shared it on GitHub too. Aren’t the previous two solutions better?

https://github.com/docker/desktop-linux/issues/209#issuecomment-2376823330
https://github.com/docker/desktop-linux/issues/209#issuecomment-2372489613

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 13/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

These suggest creating a new apparmor profile instead of disabling the unprivileged usernamespaces.
Status Security Legal Contact

Docker desktop not working on Ubuntu 24.04

mehtachandrashekhar11 (Chandrashekhar) 54 October 8, 2024, 3:17pm

agree with your point, but I found it useful for me.

data99canoe (Data99canoe) 55 October 11, 2024, 5:11pm

Are there palns. Roadmap to official suport Docker, Docker desktop for Ubuntu 24.04 LTS.

The referenced workarounds all shut of AppAmmor. I not going to do that for isolation reasons.

rimelek (Ákos Takács) 56 October 11, 2024, 5:11pm

How soon can we have a desktop release for Ubuntu 24.04

Since my last post I heard that Ubuntu 24.04 can be expected to be supported soon, but I don’t have exact dates. It still
needs some testing so when it comes out, hopefully it will be stable already.

data99canoe:

The referenced workarounds all shut of AppAmmor. I not going to do that for isolation reasons.

Please, check the links I shared in my previous post until the the latest LTS ubuntu is supported.

data99canoe (Data99canoe) 57 October 11, 2024, 5:16pm

Thank You
I messed that post

Have a Nice day

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 14/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Status Security Legal Contact


rimelek (Ákos Takács) 58 October 14, 2024, 11:06am

Here is the official response as well

https://github.com/docker/desktop-linux/issues/209#issuecomment-2410820399

Thank you for your interest and patience. We want to let you know that we’re actively working on the Linux
Ubuntu 24.04, and it’s already in the testing phase. It’s coming soon, though we don’t have a confirmed
release date just yet.

We’ll keep you updated as progress continues!

Roadmap item: docker/roadmap#655 (comment)

data99canoe (Data99canoe) 59 October 14, 2024, 12:39pm

Awesome, thanks for the update!

paulchantreau (Paulchantreau) 60 October 17, 2024, 10:58pm

The official documentation requires : “Have a 64-bit version of either the LTS version Ubuntu Jammy Jellyfish
22.04, or the current non-LTS version”. The latest non LTS version is 24.10 but I encounter the exact same
symptoms (docker desktop hanging and nothing happens) but the proposed workarounds work. So I guess the
problem also occurs on 24.10.

What is the the current non-LTS version mentioned here ? This is confusing. I cannot find non LTS latest version
of 22.04 and after.

rimelek (Ákos Takács) 61 October 18, 2024, 6:39am

Since the “current non-LTS” version is newer then 24.04 LTS, the current non-LTS version is not supported
either. The documentation was just not changed to remove the non-LTS version part and the note below that
does not meniton it either. I agree it could be confusing.

paulchantreau:

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 15/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

I cannot find non LTS latest version of 22.04 and after. Status Security Legal Contact

There is no “non-LTS version of 22.04”. 22.10 would be the next non-LTS version, but It is not supported by
Ubuntu either. I’m not 100% sure, but I think the change that made Ubuntu incompatible with Docker Desktop
was introduced in Ubuntu 23.10. Previous versions could work but I would not upgrade to a non-LTS version
especially which is nont supported even by the maintainers of Ubuntu.

tikna (Ankit Kumar) 62 October 20, 2024, 5:44pm

sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

is required for 24.04

rimelek (Ákos Takács) 63 October 26, 2024, 9:42am

Just in case you didn’t notice, Docker Desktop 4.35 now supports Ubuntu 24.04

https://docs.docker.com/desktop/install/linux/ubuntu/#prerequisites

Have an x86-64 system with Ubuntu 22.04, 24.04, or the latest non-LTS version.

gjws (gjws) 64 October 29, 2024, 8:57pm

Note that as of October 29, the docker desktop download link provided on the installation page still points to the
old version of docker desktop, and will fail to install on 24.04. Instead of using the provided link, head over to the
release notes page and download using the provided link:

Release notes
Find the Docker Desktop release notes for Mac, Linux, and Windows.

2 Likes

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 16/17
11/1/24, 3:20 AM Cannot get Docker Desktop to run on Ubuntu 24.04 - Docker Desktop - Docker Community Forums

Status Security Legal Contact


rimelek (Ákos Takács) 65 October 29, 2024, 8:58pm

True. I checked it. Thanks for sharing.

What is Docker Product Docker Desktop for Mac(Intel Chip) Documentation Community

What is a Container Pricing Docker Desktop for Mac(Apple Chip) Learn Events

Use Cases Docker Hub Docker Desktop for Windows Forums

Customers Docker Extensions Docker Desktop for Linux Docker Captains

Partners Developer Tools Blogs

About Docker

Careers

Copyright © 2024 Docker Inc. All rights reserved.

https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004/print 17/17

You might also like