-
Notifications
You must be signed in to change notification settings - Fork 5
Q: Example of connecting to a remote Docker for Windows instance #19
Comments
In theory the configuration should be:
|
Brill, thanks for confirming. I just wanted to make sure it was as simple as that and make sure it wasnt my config for docker_monitor Turns out there are issues exposing tcp on 'Docker Desktop' (mine is on Windows Server 2019) when using Linux containers. After researching turns out to be a common problem with a lot on convoluted information about workarounds, and to add to the confusion it also worked on older versions of 'Docker for Windows' I eventually stumbled upon a container that exposes it in a working way (albeit unsecured) but I was able to get docker_monitor working and working well. I also got it connecting to another Pi instance of Docker. Now that I know it all works I can get it secured! Ill leave these here in case anyone stumbles on them. To expose on Windows - Unsecured
Secured: HA Config for multiple connections:
|
guys, i am installing this too |
@IAmTheDude @Sanderhuisman - I don't see the Assistance needed :) |
@GuyKh how have you installed the addon? I've had similar issues when trying to use the 0.1.2 version from HACS but switching to master seemed to help. I think the config syntax has changed across the versions. Can you post your config for |
@Kisty - I used the master version from this repository. I've taken now the version from |
@GuyKh That's fair, but I think that the documentation isn't up to date, though I might be wrong. Did you try the |
@Kisty - I have. That's the one which doesn't work. |
@Kisty - true, you have You mentioned v |
@GuyKh ah right. So you want multiple hosts? In that case, try |
@Kisty - got it, thanks. It works :) I've set the
|
@GuyKh great! Tbh, I couldn't get it working for now as I need to figure out how to mount the docker socket when using HA from Hass.io. |
i have this problem too. Also i have scan_interval on 60 but it is still updating every 10 seconds :(
|
Sorry to bother,
If I'm reading it all right, in the Dev branch I can now specify the instance to connect to as a url.
Does this mean I can connect to a remote instance?
If so thats brill as Im using ha-dockermon over REST for my Windows box and other Pis and would be great to get them all into one component for HA.
Do you have an example of how I would connect to say a remote Windows instance ie tcp:// or npipe etc?
I feel like either the component cant do it or Im doing it wrong. Granted I only really know the basics of Docker itself, compose, dockerfile etc and havnt really got that far with remote administration bar Portainer.
Also, great component! Been playing with it since I found it and its brill that you guys are continually working on it!
The text was updated successfully, but these errors were encountered: