1.3.0, docker.socket file is a link to a file that does not exist
See original GitHub issueActual Behavior
since the update to version 1.3.0, docker stopped working
I think the reason is, that now the socker file is a link to a file that does not exist
Steps to Reproduce
docker ps
Result
error during connect: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": EOF
Expected Behavior
docker shows images
Additional Information
ls -l /var/run/docker.sock
lrwxr-xr-x 1 root daemon 29 May 2 12:06 /var/run/docker.sock -> /Users/me/.rd/docker.sock
cat /Users/me/.rd/docker.sock
cat: /Users/me/.rd/docker.sock: No such file or directory
Rancher Desktop Version
1.3.0
Rancher Desktop K8s Version
1.22.7
Which container runtime are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
macOS Monterey
What CPU architecture are you using?
arm64 (Apple Silicon)
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
No response
Issue Analytics
- State:
- Created a year ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
docker socket not available after sleep/wake · Issue #1274
I tried to make a symbolic link to file docker.sock in ~$USER/.rd/docker.sock and its work fine. Try this: sudo ln -s ~$ ...
Read more >Docker socket is not found while using Intellij IDEA and ...
For the Docker Desktop (4.13.0) version: As a workaround that will allow IntelliJ to connect to Docker you can use the TCP Socket...
Read more >dockerd | Docker Documentation
If the specified socket activated files aren't found, then Docker will exit. You can find examples of using Systemd socket activation with Docker...
Read more >FAQ
Q: Is there a Kubernetes Cluster Explorer available in Rancher Desktop? ... Q: Does file sharing work similarly to Docker Desktop? Do I...
Read more >Search Results - CVE
Two workarounds are available: Do not use any pre-existing public key file from the rundeck docker images to allow SSH access by adding...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I will re-open if people can confirm that they ran into this issue while having “administrative access” (sudo) enabled!
If you run without sudo access, then RD cannot update the symlink and you have to run
to tell
docker
to use the RD context to find the socket.I know the dialogs are not really clear about this and have opened #2178 to improve this.
So if anybody experiences this issue while using “sudo” mode, please respond here, and I’ll re-open. I still don’t know what we can do about it, as there hasn’t been enough information to reproduce the problem, but let’s see what people report!
It isn’t. I think 1.2.1 does not create a docker context at all; it relies on being able to create the symlink at
/var/run/docker.sock
and you need to switch back to the default context to use it.