moby/daemon/snapshotter
Paweł Gronowski 203bac0ec4
daemon/c8d: Unmount container fs after unclean shutdown
BaseFS is not serialized and is lost after an unclean shutdown. Unmount
method in the containerd image service implementation will not work
correctly in that case.
This patch will allow Unmount to restore the BaseFS if the target is
still mounted.

The reason it works with graphdrivers is that it doesn't directly
operate on BaseFS. It uses RWLayer, which is explicitly restored
immediately as soon as container is loaded.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-11-27 12:33:33 +01:00
..
mount.go daemon/c8d: Unmount container fs after unclean shutdown 2023-11-27 12:33:33 +01:00
mount_default.go c8d: Use reference counting while mounting a snapshot 2023-06-07 15:50:01 +02:00
mount_windows.go daemon/snapshotter: format code with gofumpt 2023-06-29 00:32:38 +02:00