Closed heisenberg2980 closed 1 year ago
I believe this is misconfiguration for the behavior you're expecting.
The pollRate
value also determines how responsive the container will be when receiving new traffic. In this case it's only checking whether it's received sufficient traffic every 30 seconds (meaning worst case, you may have to wait 30 seconds after providing sufficient traffic to turn your container back on).
You can fix this by lowering the pollRate clock or raising your patience for container continuation.
With the current configuration the container never starts no matter how much I wait, but changing the inactiveTimeout to 60 the container starts, so it seems the inactiveTimeout cannot be equal (or lower I guest) than pollRate as that causes the container to never start, maybe something to be included in the documentation.
I setup Lazytainer to manage a Firefox container. The container is correctly stopped when no traffic is detected, but when traffic is detected again the container does not start, these are the Laytainer logs:
This is the Lazytainer docker-comose.yaml file:
And this is the Firefox docker-compose.yaml file: