Skip to content

Commit

Permalink
Update info.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ualex73 authored Oct 19, 2020
1 parent 0254ab9 commit 2b46276
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions info.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ monitor_docker:
| Parameter | Type | Description |
| -------------------- | ------------------------ | --------------------------------------------------------------------- |
| name | string (Required) | Client name of Docker daemon. Defaults to `Docker`. |
| url | string (Optional) | Host URL of Docker daemon. Defaults to `unix://var/run/docker.sock`. Remote Docker daemon via TCP socket is also supported, use e.g. `tcp://ip:2376`. Do NOT add a slash add the end, this will invalid the URL. For TLS support see Q&A section. |
| url | string (Optional) | Host URL of Docker daemon. Defaults to `unix://var/run/docker.sock`. Remote Docker daemon via TCP socket is also supported, use e.g. `tcp://ip:2376`. Do NOT add a slash add the end, this will invalid the URL. For TLS support see Q&A section. SSH is not supported. |
| scan_interval | time_period (Optional) | Update interval. Defaults to 10 seconds. |
| certpath | string (Optional) | If TCP socket is used, you can define your Docker certificate path, forcing Monitor Docker to enable TLS.|
| containers | list (Optional) | Array of containers to monitor. Defaults to all containers. |
Expand Down Expand Up @@ -167,10 +167,16 @@ monitor_docker:
7. **Question:** Can you add more security to a switch?
**Answer:** No, this isn't possible from the integration. You need to do this directly in Lovelace itself, with the card e.g. https://github.com/iantrich/restriction-card
8. **Question:** All the report memories values are 0 (zero), can this be fixed in the integration?
**Answer:** No, the integration just uses the available information from the API and you should fix your Docker
**Answer:** No, the integration just uses the available information from the API and you should fix your Docker
9. **Question:** It is possible to monitor HASS.IO?
**Answer:** Yes, please use the Docker Socker Proxy https://github.com/Tecnativa/docker-socket-proxy and configure tcp://ip:port to connect to the proxy. This has been tested and verified by other users, but I cannot give support on it.

**Answer:** Yes, please use the Docker Socker Proxy https://github.com/Tecnativa/docker-socket-proxy and configure tcp://ip:port to connect to the proxy. This has been tested and verified by other users, but I cannot give support on it.
10. **Question:** I get a permission denied error?
**Answer:** In general Docker and HASS.IO are running as root and always can connect to /var/run/docker.sock. If you run in a venv environment or directly with Python, you may need to add "docker" to the user used for Home Assistant. The following commands may help you, and it is recommended to reboot after "usermod":
```
$ sudo usermod -a -G docker <user>
$ sudo reboot
```
## Credits
* [Sanderhuisman](https://github.com/Sanderhuisman/docker_monitor)
Expand Down

0 comments on commit 2b46276

Please sign in to comment.