containerd/supervisor
Michael Crosby 3742ae3ec8 Add timeout flag for container start times
This currently depends on a runc PR:

https://github.com/opencontainers/runc/pull/703

We need this pr because we have to SIGKILL runc and the container root
dir will still be left around.

As for the containerd changes this adds a flag to containerd so that you
can configure the timeout without any more code changes.  It also adds
better handling in the error cases and will kill the containerd-shim and
runc ( as well as the user process if it exists ) if the timeout is hit.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-04-05 13:38:49 -07:00
..
add_process.go Getting ctr closer to compiling on Windows 2016-02-29 12:42:30 -08:00
checkpoint.go Supervisor compiles 2016-02-26 14:58:15 -08:00
create.go Add timeout flag for container start times 2016-04-05 13:38:49 -07:00
create_linux.go Supervisor compiles 2016-02-26 14:58:15 -08:00
create_windows.go Supervisor compiles 2016-02-26 14:58:15 -08:00
delete.go Don't send exit event on failure 2016-03-11 16:40:42 -08:00
errors.go Fix minor "deferred" typo 2016-04-02 10:28:05 -07:00
exit.go Refactor process.go for platform specific 2016-02-29 10:43:35 -08:00
get_containers.go Remove eventloop package 2016-02-19 13:21:21 -08:00
machine.go Making it not crash on Windows 2016-02-28 19:02:24 -08:00
machine_linux.go Making it not crash on Windows 2016-02-28 19:02:24 -08:00
machine_windows.go Making it not crash on Windows 2016-02-28 19:02:24 -08:00
metrics.go Rename Events to task in supervisor 2016-02-11 17:26:24 -08:00
monitor_linux.go Add oom support to events 2016-02-29 17:01:40 -08:00
monitor_windows.go Making it not crash on Windows 2016-02-28 19:02:24 -08:00
oom.go Add oom support to events 2016-02-29 17:01:40 -08:00
signal.go Remove eventloop package 2016-02-19 13:21:21 -08:00
sort.go Refactor process.go for platform specific 2016-02-29 10:43:35 -08:00
sort_test.go Call delete before closing IO in shim 2016-03-14 16:58:56 -07:00
stats.go Fix minor "deferred" typo 2016-04-02 10:28:05 -07:00
supervisor.go Add timeout flag for container start times 2016-04-05 13:38:49 -07:00
supervisor_linux.go Fix minor "deferred" typo 2016-04-02 10:28:05 -07:00
supervisor_windows.go Fix minor "deferred" typo 2016-04-02 10:28:05 -07:00
task.go Remove eventloop package 2016-02-19 13:21:21 -08:00
update.go Return the runtime error message on failed pause and resume calls 2016-03-29 11:40:05 -07:00
worker.go Don't send exit event on failure 2016-03-11 16:40:42 -08:00