I am trying Docker desktop on a linux mint desktop. I am trying to resolve an nvidia error (Error response from daemon: unknown or invalid runtime name: nvidia) and am told to “Debug this container error with Gordon…”.
My issue is that although I have logged in to docker desktop when I try to use Gordon I get a blue button labeled “Sign in to use Gordon”, clicking it takes me to a web page with the text “You’re almost done! We’re redirecting you to the desktop app. If you don’t see a dialog, click the button below.” and the button below labeled “Proceed to docker Desktop” doesn’t do anything.
Any Ideas what I am doing wrong,
p.s. I have worked through “Sign in to Docker Desktop” page ( Sign in to Docker Desktop | Docker Docs ) and I have tried rebooting and restarting Docker with (sudo systemctl restart docker).
Wait, that doesn’t start Docker Desktop but the daemon of Docker CE. Are you sure you logged in to Docker Desktop and not to Docker CE maybe even witha different user? Docker Desktop is not a GUI on top of Docker CE, so you don’t even need to install the docker-ce package, not to meniton other packages not maintained and supported by Docker Inc.
Also if you want to use Nvidia GPU, as @meyay, I am also not aware of Nvidia support in Docker Desktop on Linux. It was supported on Windows because WSL2 started to support it.
So if you tried to configure the nvidia runtime for Docker DEsktop, that will not work and you indeed need Docker CE which can indeed be restarted with the command you shared.
If you already had Docker CE installed where you wanted to debug a gpu runtime issue, then you can install Docker Desktop, but it can complicate thing so I usually don’t recommend it. I did it, but it also confused me sometimes. Depending on how you installed Docker CE or other docker variants, you could have a completely different (older) client compared to your Docker Desktop.
When I start docker desktop I have to login, it uses a page that looks like a google login window, it is the same as the one used to login to this forum. I have noticed the desktop window that opens still has a login button. I am starting to wonder what I am logging into, this is the Docker desktop I am looking at.
It has an accompanying popup asking to “Allow this site to open the Docker-desktop link with Docker URL Handler?” This box has to be be allowed to get to the “Proceed to Docker Desktop” button, which doesn’t do anything.
When I installed docker I couldn’t get the desktop to install without first stepping through the non-desktop instructions for Install Docker Engine on Ubuntu Install Docker Engine on Ubuntu | Docker Docs .
Interessting that it doesn’t do the last bit that actually is reponsible to send the login information to Docker Desktop.
Does it mean you executed the commands to potentially cleanup ab old existing docker installation and then continued the docs in Install Docker Desktop on Linux | Docker Docs? Technically, the standalone Docker Engine can be installed on the same time as Docker Desktop, though we don’t recommend installing both on the same system, because it often ends up confusing users that migh use different `docker context’ configurations for their unprivliged and privleged users.
It is kind of odd that your client and server version are not identical, which indicates that you propably indeed had a standalone Docker Engine installation on the host as well. Though, I don’ see how this would interfere with the Docker Desktop Sign-in.
If it’s okay to loose the 7 containers you have created in Docker Desktop, I would try if deleting the standalone Docker Engine, and performaing a Docker Desktop Factory Reset might sort it out.
Yes that was true for my first attempt, I have since set up a linux mint install which I use to try and figure this out.. i.e. I can easily reinstall mint and start again.
My method of installing the Docker desktop is to download the docker-desktop-amd64.deb package and let the “package installer” do the work. If there is another - better way I an happy to give it a go as well.
Docker DEsktop only needs you to add the apt repsository, but users often misunderstand that and continue with the installation of the whole engine as the link points to the Docker Engine installation guide where the repository installation is described. Installing the whole engine is not required. As far as I remember, the client doesn’t have to be installed either, only the repository has to be added to apt so the Docker Deskop installer can install the right client that matches the daemon version in Docker Desktop.
I don’t know why it can happen sometimes, but it just happened to me yesterday. I should have checked the logs as I always recommend others, but I was lazy enough to just stop Docker Desktop and see what happens when I start it again. Then I think I just clicked on the login button and suddenly I was logged in.
It looks like I had installed Docker desktop on top of the non-desktop version, once the system was reinstalled with a new Docker the problem was resolved.