Type: New Feature
Status: Open (View Workflow)
Environment:Jenkins installed directly to a Debian LXC and docker is installed inside the LXC.
Jenkins runs outside the docker but the user 'jenkins' has 'docker' group access.
Though docker enables fast creation of containers, docker is still slow when being executed under legacy environment (e.g. dir file system).
Though the timeout for docker commands has been increased to 180/300 seconds by https://issues.jenkins-ci.org/browse/JENKINS-42322, I think the timeout should be configurable.
I sometimes get failure like this:
However, the same code just succeeded its build few minutes ago.
That's because the execution time of a docker command varies depending on the system load.
In my example, it took several minutes to create a container.
(As my docker runtime uses dir-based filesystem, on a software raid partition.)
(with 6G docker image for latex compilation)
We might conclude to increase the timeout to 10min, but I think we should provide a configurable timeouts (either via web or local configuration file).