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.
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.