Skip to content

Add export and load for dagger images - #1842

Merged
aluzzardi merged 1 commit into
dagger:mainfrom
helderco:docker-load
Mar 25, 2022
Merged

aluzzardi merged 1 commit into
dagger:mainfrom
helderco:docker-load

Conversation

@helderco

@helderco helderco commented Mar 24, 2022 •

Copy link
Copy Markdown
Contributor

Fixes #1304

Why

It was possible to load docker images to a local daemon in 0.1, but hasn't been ported yet to 0.2.

What

Add back docker.#Load to load images into a local or remote docker daemon.

How

https://deploy-preview-1842--devel-docs-dagger-io.netlify.app/1216/engine-load

Signed-off-by: Helder Correia

@netlify

netlify Bot commented Mar 24, 2022 •

Copy link
Copy Markdown

✅ Deploy Preview for devel-docs-dagger-io ready!

Name Link
🔨 Latest commit 7a81539
🔍 Latest deploy log https://app.netlify.com/sites/devel-docs-dagger-io/deploys/623de82239770f0008b40670
😎 Deploy Preview https://deploy-preview-1842--devel-docs-dagger-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@helderco helderco changed the title [WIP] Add export and load for dagger images Add export and load for dagger images Mar 24, 2022

@aluzzardi aluzzardi 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.

Very nice! Left some minor comments, code looks great.

/cc @shykes for API review

Comment thread plan/task/export.go Resolved
Comment thread pkg/universe.dagger.io/docker/load.cue Resolved
@helderco
helderco requested a review from shykes March 24, 2022 23:15
@aluzzardi

Copy link
Copy Markdown
Contributor

I think the test failure is relevant?

@helderco

Copy link
Copy Markdown
Contributor Author

I think the test failure is relevant?

Yah, but not sure why. That part hasn't changed and works locally. I'm going to try changing the name.

@helderco

Copy link
Copy Markdown
Contributor Author

I had a forced dependency before, in the test. Later on it looked like it wasn't needed anymore so I removed. Guess it's still needed. I need to create an issue for that.

@helderco

helderco commented Mar 25, 2022 •

Copy link
Copy Markdown
Contributor Author

@shykes and @aluzzardi, can we merge this? It'll make it easier to follow up with changes in other PRs:

@shykes

shykes commented Mar 25, 2022

Copy link
Copy Markdown
Contributor

Before merging we need to decide on my suggestion to move all things related to docker engine, including #Load, to a sub-package called either client or legacy.

@helderco

Copy link
Copy Markdown
Contributor Author

Before merging we need to decide on my suggestion to move all things related to docker engine, including #Load, to a sub-package called either client or legacy.

I was going to move in another PR, along with the new package: #1862 to keep the legacy client feature separate.

@aluzzardi
aluzzardi merged commit 4f440bc into dagger:main Mar 25, 2022
@aluzzardi
aluzzardi deleted the docker-load branch March 25, 2022 19:22

@gerhard gerhard 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.

This is most anticipated! I really like the simplicity and straightforward approach. 🎯

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.

Europa support for docker.#Load

4 participants