moby/docs/sources/reference
Peter Waller 671c12204c Implement build cancellation
Add the capability to cancel the build by disconnecting the client.

This adds a `cancelled` channel which is used to signal that a build
should halt. The build is halted by sending a Kill signal and noticing
that the cancellation channel is closed.

This first pass implementation does not allow cancellation during a
pull, but that will come in a subsequent PR.

* Add documentation of cancellation to cli and API

* Protect job cancellation with sync.Once

* Add TestBuildCancelationKillsSleep

* Add test case for build cancellation of RUN statements.

Signed-off-by: Peter Waller <p@pwaller.net>
2015-03-22 11:31:28 +00:00
..
api Implement build cancellation 2015-03-22 11:31:28 +00:00
commandline Implement build cancellation 2015-03-22 11:31:28 +00:00
builder.md Merge pull request #11433 from moxiegirl/pick-up-tweaks-9882 2015-03-17 09:47:36 -07:00
run.md Merge pull request #10568 from LK4D4/logging_drivers 2015-03-17 09:45:58 -07:00