Hi, I have a fresh install of ubuntu 24.10 on a 2018 Macbook Pro and I’m trying to run docker desktop. I’m also new in Linux.
When running Docker Desktop the first time after the install everything works. But after I close and restart Docker Desktop, it is stuck at ‘engine is starting’ and eventually stops.
docker version
gives the following
Client: Docker Engine - Community
Version: 28.0.1
API version: 1.48
Go version: go1.23.6
Git commit: 068a01e
Built: Wed Feb 26 10:41:19 2025
OS/Arch: linux/amd64
Context: desktop-linux
request returned 500 Internal Server Error for API route and version http://%2Fhome%2Fcielserv%2F.docker%2Fdesktop%2Fdocker.sock/v1.48/version, check if the server supports the requested API version
I’m guessing there’s a problem with the internal api call. Trying curl gives me this
$ curl -v --unix-socket /home/cielserv/.docker/desktop/docker.sock http://localhost/v1.48/version
*Trying /home/cielserv/.docker/desktop/docker.sock:0...
Connected to localhost (/home/cielserv/.docker/desktop/docker.sock) port 0
> GET /v1.48/version HTTP/1.1
> Host: localhost
> User-Agent: curl/8.9.1
> Accept: */*
> Request completely sent off
< HTTP/1.1 500 Internal Server Error
< Date: Thu, 06 Mar 2025 03:50:25 GMT
< Content-Length: 0
<
Connection #0 to host localhost left intact
I then tried creating docker group and changed the permission of docker.sock with
sudo chown root:docker /home/cielserv/.docker/desktop/docker.sock
But I still cannot get Docker Desktop to start and I’m out of ideas.
As I am new in Linux and cli please help me by giving some specific commands to try out.
Thank you very much.