Open sumdog opened 6 years ago
I think I found a solution. There are hard coded timeouts in DockerKit
, but they can be overridden pretty easily:
trait MyContainers extends DockerKit {
//override DockerKit timeouts
override val PullImagesTimeout = 120.minutes
override val StartContainersTimeout = 120.seconds
override val StopContainersTimeout = 120.seconds
I think this should be mentioned in the Readme. I'll try to add it and make a pull request this weekend.
In our continuous integration environment, I've been seeing errors like the following a lot:
The test kit I'm using is pretty simple too:
And my Spces2 is built like so:
I suspect that DockerKit is failing out too early when waiting for the containers to become alive. I'm going to turn logging up and see if I can reproduce/extract more information. Is there any way to expose the internal timeout and make it configurable?