I get several orphaned Docker containers per day with the following endless output in the logs:
(... continued forever)
Looking at /tmp/init.sh on the looping container I see this at the top:
If for whatever reason a config file is not copied to the container, this is what I would expect to happen. What does the Connection Timeout setting in the Jenkins cloud configuration do then? My opinion is that regardless of whether that setting is applicable here (or even to JNLP option at all), this loop should not go on forever but should have a sane default maximum iteration limit.
Happy to provide a PR if needed, but want to get feedback first.