Replies: 4 comments 5 replies
-
I've created enhancement request #2851 from this question; I don't think this is currently possible. |
Beta Was this translation helpful? Give feedback.
-
I'm running this to workaround the problem:
It seems to work quite well. |
Beta Was this translation helpful? Give feedback.
-
Yeah this is annoying. I'm using Testcontainers and it can't talk to a remote Rancher Desktop, because docker-java does not support the ssh transport, which could work around this. It is also possible to bind to all network interfaces, not just 127.0.0.1:
|
Beta Was this translation helpful? Give feedback.
-
I have a External App install and manage a container and before is not working with Rancher Desktop and for me is a problem well is a very easy system to do it . Deactivate traefik in rancher desktop and the spining . copy and paste the next
done now you just start with docker compose up -d The trick is you have this Lines
Us root look in C:\Windows\System32\drivers\etc Added Docker Desktop172.20.0.3 host.docker.internal save and exit from Rancher Desktop / Reboot Windows For any others updates Follow the project https://github.com/Coleganet/Daemon.git |
Beta Was this translation helpful? Give feedback.
-
I have already created a configuration file at /etc/docker/daemon.json with the following content:
{
"hosts": [
"tcp://0.0.0.0:2375"
]
}
However, this is in conflict with the parameters used in the command line, as shown in the error below:
unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives are specified both as a flag and in the configuration file: hosts: (from flag: [unix:///mnt/wsl/rancher-desktop/run/docker.sock unix:///var/run/docker.sock], from file: [tcp://0.0.0.0:2375])
Error: timed out waiting for /mnt/wsl/rancher-desktop/run/docker.sock to exist
Usage:
wsl-helper docker-proxy start [flags]
Flags:
--endpoint string Dockerd socket endpoint (default "/mnt/wsl/rancher-desktop/run/docker.sock")
-h, --help help for start
--port uint32 Vsock port to listen on (default 23752375)
Global Flags:
--verbose count enable extra logging
How can I restart the docker daemon in the Rancher-Desktop WSL2 distro to use the daemon.json config instead of the mentioned flags?.
Many thanks in advance,
Abel.
Beta Was this translation helpful? Give feedback.
All reactions