Skip to content

Docker image unpacker#715

Merged
rbs-jacob merged 40 commits into
masterfrom
feature/docker_image_unpacker
May 20, 2026
Merged

Docker image unpacker#715
rbs-jacob merged 40 commits into
masterfrom
feature/docker_image_unpacker

Conversation

@paulnoalhyt

@paulnoalhyt paulnoalhyt commented Mar 3, 2026

Copy link
Copy Markdown
Collaborator
  • I have reviewed the OFRAK contributor guide and attest that this pull request is in accordance with it.
  • I have made or updated a changelog entry for the changes in this pull request.

One sentence summary of this PR (This should go in the CHANGELOG!)

Docker image tarball unpacker.

Link to Related Issue(s)

Please describe the changes in your request.

Adds a Docker image unpacker: unpack a docker image tar ball to a filesystem that represents the filesystem from this image once run as a container. This unpacker walks the different image layers and applies them, including whiteouts and opaque whiteouts.

Anyone you think should look at this, specifically?

No

@rbs-jacob

Copy link
Copy Markdown
Member

Is there a technical reason this depends on those other branches, or is it just a result of your local git tree? I'm assuming the latter, but want to know what I should look out for when reviewing.

@paulnoalhyt

Copy link
Copy Markdown
Collaborator Author

No, it doesn't technically depend on those other branches, it's just that I need all these features for the project I'm currently working on.

@paulnoalhyt paulnoalhyt requested a review from rbs-jacob May 13, 2026 10:42

@rbs-jacob rbs-jacob left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some small stuff, then this should be good to go!

Comment thread ofrak_core/src/ofrak/core/docker.py Outdated
Comment thread ofrak_core/src/ofrak/core/docker.py
Comment thread ofrak_core/src/ofrak/core/docker.py
Comment thread ofrak_core/tests/components/test_docker_component.py Outdated

@rbs-jacob rbs-jacob left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Pending passing tests, this looks good enough to me for now. May need to make some adjustments as we encounter more Docker images in the wild, but that shouldn't block merging this at the moment.

@rbs-jacob rbs-jacob mentioned this pull request May 19, 2026
2 tasks
@rbs-jacob rbs-jacob merged commit c608fc5 into master May 20, 2026
101 checks passed
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.

3 participants