dissect.target.loaders.overlay2

Module Contents

Classes

Overlay2Loader

Load Docker overlay2 filesystems.

class dissect.target.loaders.overlay2.Overlay2Loader(path: pathlib.Path, *, parsed_path: urllib.parse.ParseResult | None = None, resolve: bool = True, **kwargs)

Bases: dissect.target.loader.Loader

Load Docker overlay2 filesystems.

static detect(path: dissect.target.helpers.fsutil.TargetPath) bool

Detects wether this Loader class can load this specific path.

Parameters:

path – The target path to check.

Returns:

True if the path can be loaded by a Loader instance. False otherwise.

map(target: dissect.target.target.Target) None

Maps the loaded path into a Target.

Parameters:

target – The target that we’re mapping into.