viam-soleng / viam-docker-manager

Apache License 2.0
1 stars 2 forks source link

It appears that the module starts up every 10 seconds regardless of the command passed. #2

Closed williamjhyland closed 9 months ago

williamjhyland commented 10 months ago

The module assumes that there aren't any other containers running that image ID. As a result if a container was started up and then exited but not removed it will confuse the container ID. The container ID will be appended with the other containers that were exited but not removed. Then since the module sleeps for 10 seconds it will start up a new container every 10 seconds. Stopping Viam, removing the old containers and starting back up again resolved the issue.