Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unless we're extracting an image to a layer, we should never return it directly. We must always interact with it via a mount point, as Windows layers hold a number of metadata files which should never be mutated directly. When reading/manipulating the contents of a layer we should always pass through a mount. Allow the containerd mount.Mount() to properly mount the layer before we interact with it. Signed-off-by: Gabriel Adrian Samfira <[email protected]>
- Loading branch information