SaaShup / netbox-docker-plugin

Netbox Docker Plugin
https://saashup.com
BSD 3-Clause "New" or "Revised" License
65 stars 5 forks source link

:sparkles: add "not_sync" flag on container #131

Open lvenier opened 5 months ago

lvenier commented 5 months ago
Netbox version Plugin Version Agent version Docker API Version
3.7.* 1.11.0 * *

Actual Behavior

When I reconfigure a container (changing labels, mounts, ports...) the changes will not be applied until I recreate the container. If I make a change it is highly possible I forgot to recreate or want to postpone the recreation but nobody would know

Desired Behavior

I believe we should flag a container as soon as a change has been applied and the recreate has not been triggered. This way I would know that the actual configuration of my container in the plugin and the actual docker being run is different.

As soon as the recreate is triggered the flag is removed.