Open Rihan9 opened 4 months ago
That would be amazing. I was looking for a creating a script to restart a container and found this integration. Very good for monitoring but stop/start/restart can be perfect
Thanks
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue was closed because it has been stalled for 5 days with no activity.
Is your feature request related to a problem? Please describe.
Hi, I would like to start/stop but mostly restart my containers. This is because it sometimes happens, for example, that Zigbee2mqtt needs a restart when some devices stop responding correctly.
The best thing would be if the "recreate" function were also included, allowing updates to the containers directly from Home Assistant.
Describe the solution you'd like
a bunch of services:
all of them should accept the sensor entity created by this integration to know which container should be the target.
Additional context
portainer documentation: https://app.swaggerhub.com/apis/portainer/portainer-ce/2.19.4 the docker endpoints shold be wrapped in this portainer endpoint: https://[[HOSTNAME]]/api/endpoints/2/docker/containers/
{ "Id": "54f592b3e7ce49afe649bb0cf7aafbb0a00113233e6eb0535b2abbc7e5c55305", "Portainer": { "ResourceControl": { "Id": 294, "ResourceId": "54f592b3e7ce49afe649bb0cf7aafbb0a00113233e6eb0535b2abbc7e5c55305", "SubResourceIds": [], "Type": 1, "UserAccesses": [ { "UserId": 1, "AccessLevel": 1 } ], "TeamAccesses": [], "Public": false, "AdministratorsOnly": false, "System": false } }, "Warnings": [] }