Open michaelfarrow opened 10 months ago
@allfro - This appears to solve a use case I've run into. Are you open to merging?
@allfro This seems to be working really well, albeit for this issue which Michael has kindly submitted a PR for. Is there anything further needed that's preventing it being merged?
Thanks!
@michaelfarrow as this doesn't seem to be being merged, could you post your fork to dockerhub or ghcr for ease of access
@Fma965 It's on dockerhub here: https://hub.docker.com/r/weyforth/device-mapping-manager
If this image is run after other stacks / containers, it won't fix the required devices as it only listens for newly running containers. This is likely to happen if restarting a swarm host.
This change adds an initial check of all running containers on first run.
Also cleaned up import order.
PS. My first time using go, sorry for any mistakes 😬