Files
docker-cli/components/engine/daemon
Kir Kolyshkin d59bd66e1b daemon.cleanupContainer: nullify container RWLayer upon release
ReleaseRWLayer can and should only be called once (unless it returns
an error), but might be called twice in case of a failure from
`system.EnsureRemoveAll(container.Root)`. This results in the
following error:

> Error response from daemon: driver "XXX" failed to remove root filesystem for YYY: layer not retained

The obvious fix is to set container.RWLayer to nil as soon as
ReleaseRWLayer() succeeds.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Upstream-commit: e9b9e4ace294230c6b8eb010eda564a2541c4564
Component: engine
2018-01-30 18:50:59 -08:00
..
2017-09-08 18:23:21 -04:00
2018-01-09 12:00:28 -05:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:22:25 +01:00
2017-10-18 10:26:58 +08:00
2017-12-18 17:41:53 +01:00
2017-09-06 12:05:19 -04:00
2018-01-11 21:21:43 -05:00
2018-01-11 21:21:43 -05:00
2018-01-18 12:30:39 -08:00
2018-01-18 08:29:19 -08:00
2018-01-18 12:30:39 -08:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2017-07-31 13:16:46 -07:00
2018-01-11 21:21:43 -05:00
2018-01-11 21:21:43 -05:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-10-19 11:09:29 -07:00
2018-01-11 21:21:43 -05:00
2017-07-31 13:16:46 -07:00
2018-01-18 12:30:39 -08:00
2018-01-08 11:42:25 +01:00
2018-01-18 12:30:39 -08:00
2018-01-18 12:30:39 -08:00
2018-01-18 08:29:19 -08:00
2018-01-18 08:29:19 -08:00
2018-01-18 12:30:39 -08:00
2017-11-03 01:46:58 +01:00
2017-12-18 17:22:25 +01:00
2018-01-11 21:21:43 -05:00
2018-01-11 21:21:43 -05:00
2017-07-18 12:09:26 +08:00
2018-01-11 21:21:43 -05:00
2017-07-31 13:16:46 -07:00
2018-01-16 15:15:11 -08:00
2018-01-08 11:42:25 +01:00
2018-01-11 21:21:43 -05:00
2018-01-26 14:13:43 -05:00
2018-01-15 00:42:25 +01:00
2018-01-11 21:21:43 -05:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2017-07-31 13:16:46 -07:00
2017-12-18 17:41:53 +01:00
2018-01-11 21:21:43 -05:00
2017-10-24 15:39:34 -04:00
2018-01-11 21:21:43 -05:00
2017-09-06 12:05:19 -04:00
2017-09-06 12:05:19 -04:00
2018-01-15 00:42:25 +01:00
2017-12-18 17:22:25 +01:00
2018-01-11 21:21:43 -05:00
2017-07-03 13:13:09 -07:00
2017-12-18 17:41:53 +01:00
2018-01-11 21:21:43 -05:00
2017-05-16 15:11:39 -07:00
2017-06-07 11:45:33 -04:00