Jana Radhakrishnan
5ec67f98b1
Fix endpoint leave failure for --net=host mode
...
When a container is started with `--net=host` with
a particular name and it is subsequently destroyed,
then all subsequent creations of the container with
the same name will fail. This is because in `--net=host`
the namespace is shared i.e the host namespace so
trying to destroy the host namespace by calling
`LeaveAll` will fail and the endpoint is left with
the dangling state. So the fix is, for this mode, do
not attempt to destroy the namespace but just cleanup
the endpoint state and return.
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com >
Upstream-commit: 9bb69f9726e7f8cba0cdf681e5060e47b9c45298
Component: engine
2015-06-24 12:33:52 -07:00
..
2015-04-07 08:43:14 -07:00
2015-06-16 15:19:43 -07:00
2015-06-17 11:30:04 -07:00
2015-06-23 14:04:25 +02:00
2015-05-19 22:40:19 +00:00
2015-06-17 17:00:48 +02:00
2015-05-02 03:12:58 +02:00
2015-06-01 15:57:14 -07:00
2015-06-22 04:15:41 -07:00
2015-06-22 04:15:41 -07:00
2015-06-22 04:15:41 -07:00
2015-05-26 16:17:33 -07:00
2015-06-22 04:15:41 -07:00
2015-06-24 12:33:52 -07:00
2014-09-12 10:45:07 -07:00
2015-06-17 10:41:28 -07:00
2015-06-17 10:41:28 -07:00
2015-05-02 03:12:58 +02:00
2015-06-13 09:31:19 +08:00
2015-06-16 16:50:56 -07:00
2015-06-08 15:09:33 -07:00
2015-06-08 15:09:33 -07:00
2015-06-08 15:09:33 -07:00
2015-06-08 15:09:33 -07:00
2015-06-09 18:04:59 -07:00
2014-11-25 01:02:30 +02:00
2015-06-22 08:35:18 -07:00
2015-06-20 19:14:15 +02:00
2015-05-14 15:57:45 -07:00
2015-06-19 15:29:47 -07:00
2015-05-13 16:38:59 -07:00
2015-05-12 10:09:23 +10:00
2015-06-12 09:21:17 -07:00
2015-05-06 16:19:27 -07:00
2015-05-06 16:19:27 -07:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-03-25 00:13:13 +03:00
2015-06-05 18:06:09 -07:00
2015-06-17 09:19:11 +08:00
2015-06-15 14:05:10 -04:00
2015-06-01 12:39:28 -07:00
2015-06-22 11:44:33 +05:30
2015-06-10 20:21:50 +02:00
2015-05-14 10:34:09 -07:00
2015-06-04 13:56:40 -07:00
2015-05-16 14:15:28 +02:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-05-02 03:12:58 +02:00
2015-06-01 12:39:28 -07:00
2015-06-13 09:31:19 +08:00
2014-12-12 10:44:59 -08:00
2015-05-30 07:48:46 -07:00
2015-06-01 09:11:03 -07:00
2015-06-01 09:11:03 -07:00
2015-06-15 18:18:38 -04:00
2015-06-12 13:06:06 -04:00
2015-06-23 19:38:15 +08:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2014-09-23 13:21:25 -04:00
2014-09-23 13:21:25 -04:00
2015-04-15 10:22:07 -07:00
2015-05-29 22:38:09 +02:00
2015-05-27 12:50:16 -07:00
2015-05-28 14:06:17 -07:00
2015-06-09 18:04:59 -07:00
2015-05-27 12:50:16 -07:00
2015-05-28 14:06:17 -07:00
2015-05-21 20:34:17 -07:00
2015-06-09 18:04:59 -07:00
2015-06-17 10:41:28 -07:00
2015-05-11 19:56:41 +02:00