https://rancher.com/ logo
Title
r

ripe-petabyte-15925

08/25/2022, 9:13 AM
Hello, I have a question... I have windows 10 x64bit machine, installed RD on it. I also have a maven project which builds the docker images using the docker maven plugin fabric8io https://github.com/fabric8io/docker-maven-plugin.... maven is throwing exception since its not able to connect to the docker daemon running inside RD. Question is how do I know which IP:Port docker daemon is listening. Error on console while running mvn install [ERROR] DOCKER> Cannot create docker access object [Connect to localhost:2375 [localhost/127.0.0.1, localhost/00️⃣00️⃣00️⃣0:1] failed: Connection refused: connect] I am stuck I guess here. Looking for help.
h

handsome-jewelry-53515

08/26/2022, 3:42 AM
I'm not sure how RD handles the docker socket on Windows. On Linux and Mac, RD uses Unix sockets so there wouldn't be an IP/TCP address without some configuration work. I'll ask around and see what I can find for Windows...
r

ripe-petabyte-15925

08/26/2022, 5:04 AM
Sure, thanks for the information.
h

handsome-jewelry-53515

08/29/2022, 3:49 AM
It looks like RD uses a named pipe for dockerd in Windows. The pipe name was copied from Docker Desktop and is:
\\.\pipe\docker_engine
r

ripe-petabyte-15925

08/29/2022, 5:52 AM
Thanks Doug!! A bit of tweaking to the above and it worked. Cheers
npipe:////./pipe/docker_engine
👍 1