This looks in the container store for existing data dirs with ids not in the container files and removes them. It also adds an (optional) driver method to list available layers, then uses this and compares it to the layers json file and removes layers that are not references. Losing track of containers and layers can potentially happen in the case of some kind of unclean shutdown, but mainly it happens at reboot when using transient storage mode. Such users are recommended to run a garbage collect at boot. Signed-off-by: Alexander Larsson <alexl@redhat.com> |
||
|---|---|---|
| .. | ||
| jsoniter_windows.go | ||
| windows.go | ||
| windows_windows_test.go | ||