Arnaud Porterie
c66cb2a6ce
Fix race in container creation
...
Only register a container once it's successfully started. This avoids a
race condition where the daemon is killed while in the process of
calling `libcontainer.Container.Start`, and ends up killing -1.
There is a time window where the container `initProcess` is not set, and
its PID unknown. This commit fixes the race Engine side.
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com >
Upstream-commit: ad2fa3945997905760a4c7ef0444580ffb4b939a
Component: engine
2016-03-03 20:25:03 -08:00
..
2016-01-06 19:48:59 -05:00
2016-02-26 15:49:09 -05:00
2016-03-03 20:25:03 -08:00
2016-02-29 21:32:30 -08:00
2015-12-22 13:31:46 -05:00
2016-03-01 12:58:35 -08:00
2016-01-06 19:48:59 -05:00
2016-02-01 09:57:38 -08:00
2016-02-01 09:57:38 -08:00
2016-02-18 14:44:13 -08:00
2016-02-26 15:49:09 -05:00
2015-12-11 12:39:28 -05:00
2016-02-29 19:28:37 +08:00
2016-01-08 15:06:22 -05:00
2015-10-09 20:50:05 -04:00
2016-01-21 16:56:12 -05:00
2016-02-01 19:46:30 -08:00
2016-02-01 19:46:30 -08:00
2016-02-19 18:39:10 -05:00
2016-03-01 12:44:10 -05:00
2016-02-26 15:49:09 -05:00
2015-12-03 17:39:49 +01:00
2016-02-26 15:49:09 -05:00
2016-01-08 15:06:42 -05:00
2016-02-28 01:51:46 +08:00
2016-01-08 15:06:22 -05:00
2015-09-29 11:30:18 +08:00
2016-02-03 20:52:32 -05:00
2016-01-08 15:06:22 -05:00
2016-02-24 21:12:14 -05:00
2016-02-22 20:27:15 +01:00
2016-02-26 15:49:09 -05:00
2016-02-24 13:36:47 +08:00
2016-02-29 18:48:55 +01:00
2015-12-13 18:04:12 +02:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-03 10:43:01 -08:00
2016-01-14 16:44:37 -05:00
2016-02-26 15:49:09 -05:00
2016-01-17 12:14:01 +01:00
2016-01-17 12:14:01 +01:00
2016-01-06 19:48:59 -05:00
2016-01-06 19:48:59 -05:00
2016-02-29 19:28:37 +08:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-01-14 08:17:40 +00:00
2016-02-16 11:19:23 -08:00
2016-02-16 11:09:28 -08:00
2016-02-10 15:16:59 -05:00
2016-02-10 15:16:59 -05:00
2016-02-10 15:16:59 -05:00
2016-02-26 15:49:09 -05:00
2016-01-19 13:21:41 -05:00
2016-01-11 11:31:29 -05:00
2015-12-03 17:39:49 +01:00
2015-12-03 17:39:49 +01:00
2016-02-25 16:58:31 +08:00
2015-10-23 13:37:53 -07:00
2016-02-16 13:24:49 -08:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2015-08-22 10:09:07 +08:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2015-11-12 15:48:41 -08:00
2015-11-12 15:48:41 -08:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2015-12-03 17:39:49 +01:00
2016-01-06 19:48:59 -05:00
2016-01-06 19:48:59 -05:00
2016-01-06 19:48:59 -05:00
2016-02-09 14:25:02 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2015-12-16 16:50:25 +01:00
2016-01-13 11:22:31 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2015-12-11 12:39:28 -05:00