Skip to content

Allow loading Containers to host - #10662

Merged
jedevc merged 11 commits into
dagger:mainfrom
jedevc:loadables
Jul 9, 2025
Merged

jedevc merged 11 commits into
dagger:mainfrom
jedevc:loadables

Conversation

@jedevc

@jedevc jedevc commented Jun 30, 2025 •

Copy link
Copy Markdown
Contributor

Fixes #8025.

This adds a new Container.load API, which accepts a name and exports the image to the host's container store. It's similar in style to how Export works, which exports a tarball to the host. Bikeshedding welcome!

⚠️ Depends on #10671.

TODO:

  • Container.exportImage (renamed from Container.load)
  • Manual store override with _EXPERIMENTAL_DAGGER_RUNNER_IMAGESTORE
  • Containerd store loading
    • Containerd tests
  • Cleanup

@jedevc
jedevc force-pushed the loadables branch 13 times, most recently from 5465ddd to 62f02cf Compare July 4, 2025 14:43
Comment thread go.mod Resolved
@jedevc
jedevc marked this pull request as ready for review July 4, 2025 14:45
@jedevc
jedevc requested review from a team as code owners July 4, 2025 14:45
@jedevc
jedevc requested review from sipsma and removed request for a team July 4, 2025 14:45
@jedevc
jedevc requested a review from shykes July 4, 2025 14:45
@jedevc jedevc added area/engine About dagger core engine area/engine/api labels Jul 4, 2025
Comment thread core/schema/container.go Resolved

@sipsma sipsma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

couple nits but LGTM!

Comment thread core/container.go Resolved
Comment thread core/schema/container.go Resolved
Comment thread core/schema/container.go Resolved
Comment thread core/container.go Resolved
@jedevc jedevc added the needs/changelog Pull requests that require a changelog entry label Jul 8, 2025
Signed-off-by: Justin Chadwell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/engine/api area/engine About dagger core engine needs/changelog Pull requests that require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Import image to local container runtime

2 participants