device-mapping-manager icon indicating copy to clipboard operation
device-mapping-manager copied to clipboard

Checking containers on first run + cleanup

Open michaelfarrow opened this issue 2 years ago • 4 comments

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 😬

michaelfarrow avatar Jan 13 '24 23:01 michaelfarrow

@allfro - This appears to solve a use case I've run into. Are you open to merging?

mels0n avatar Mar 24 '24 16:03 mels0n

@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!

davehope avatar Apr 25 '24 12:04 davehope

@michaelfarrow as this doesn't seem to be being merged, could you post your fork to dockerhub or ghcr for ease of access

fma965 avatar Jul 24 '24 21:07 fma965

@Fma965 It's on dockerhub here: https://hub.docker.com/r/weyforth/device-mapping-manager

michaelfarrow avatar Jul 25 '24 15:07 michaelfarrow