Replies: 3 comments 4 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.
0 replies
-
I'm running this to workaround the problem:
It seems to work quite well. |
Beta Was this translation helpful? Give feedback.
4 replies
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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