genuinetools / img

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
https://blog.jessfraz.com/post/building-container-images-securely-on-kubernetes/
MIT License
3.89k stars 230 forks source link

Load an image from a TAR archive #226

Open La0 opened 5 years ago

La0 commented 5 years ago

Do you have any plan to support loading a Docker image in its tar format, like docker load ?

After some tests, it looks like it should be doable by extracting the archive, importing the blobs in the current state, and copying the content from manifest.json into the state's metadata.db.

sreya commented 4 years ago

@AkihiroSuda would you be open to a PR to add this command?

AkihiroSuda commented 4 years ago

sorry I don't have bandwidth

sreya commented 4 years ago

@AkihiroSuda I meant if I do it

AkihiroSuda commented 4 years ago

Yes, feel free to open PRs, thanks

fragolinux commented 3 years ago

hi, any plan on when/if the load function introduced by @twz123 will be merged in main? As importing/exporting to "local" is actually still broken, could be a viable alternative... thanks!