Skip to content

dump: Support --filter - #320

Merged
alexlarsson merged 1 commit into
composefs:mainfrom
cgwalters:dump-filtered
Aug 22, 2024
Merged

alexlarsson merged 1 commit into
composefs:mainfrom
cgwalters:dump-filtered

Conversation

@cgwalters

Copy link
Copy Markdown
Contributor

I'm looking at storing OCI container images with their metadata included in the image - giving a "single file" holding all the relevant bits for an image. Specifically a structure like this:

/manifest.json
/config.json
/rootfs

I want higher level tooling to be able to read the metadata efficiently. Of course we could directly parse the EROFS image...but a lot of pitfalls there. We could also mount the image but that's pretty inefficient for this.

Add support for filtering when generating a dump; this can operate fully unprivileged, and only requires some minor modifications to the library and CLI tooling.

I'm looking at storing OCI container images with their metadata
included in the image - giving a "single file" holding all
the relevant bits for an image. Specifically a structure like this:

```
/manifest.json
/config.json
/rootfs
```

I want higher level tooling to be able to read the metadata efficiently.
Of course we could directly parse the EROFS image...but a lot of
pitfalls there. We could also mount the image but that's pretty
inefficient for this.

Add support for filtering when generating a dump; this can operate
fully unprivileged, and only requires some minor modifications
to the library and CLI tooling.

Signed-off-by: Colin Walters <[email protected]>

@alexlarsson alexlarsson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@alexlarsson
alexlarsson merged commit 0cde542 into composefs:main Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants