ualex73 / monitor_docker

Monitor Docker containers from Home Assistant
Apache License 2.0
267 stars 34 forks source link

A few questions #73

Closed TheDarthFather closed 2 years ago

TheDarthFather commented 2 years ago

First .. this is amazing! Easy to setup and use :) Big Thank you!

I do have 2 questions:

  1. Is the state bugged ? I have a container that is stopped and the state shows Running, while the status is Exited ... (img below)
  2. I woudl like to connect to another docker instance, and I see the setup in config .. seems easy .. but what do I need to do on the other machine to allow the connection ? Any guide / what to look for ?

https://imgur.com/kLMkOV1

ualex73 commented 2 years ago

The "state" seem a bug, can you enable debug logging and share the logging that I can look what's going on?

For the remote instance see the following links: https://www.ivankrizsan.se/2016/05/18/enabling-docker-remote-api-on-ubuntu-16-04/ https://serverfault.com/questions/843296/how-do-i-expose-the-docker-api-over-tcp

ualex73 commented 2 years ago

Any update on this one? otherwise lets close it.

TheDarthFather commented 2 years ago

Yes, I belive this came from the fact I used a button-card and when clicking on it "kind of" ruined something ... isn't that state read-only ?