Docker Community Forums

Share and learn in the Docker community.

How to kill an automated build


(Ed Sweeney) #1

I have an automated build that has been hung in “building” state for 2 hours. I can repro the “hung” docker build state (a gulp thing) but don’t know how to cancel the running one.

Is there a timeout?

Thx


(Sabin Basyal) #2

Yes, the builds automatically times out after 2 hour. So, for any build to be successful, it should complete by 2 hours.


(Gaillou) #3

Is there any way to change the default timeout ?


(Sabin Basyal) #4

@gaillou, unfortunately you cannot change the default timeout. For larger builds you could either break them into several Automated Builds connected by FROM statements and Repository Links, or build them locally on your machine and push them.