Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to run squashing without accessing Docker daemon #24

Open
goldmann opened this issue May 25, 2015 · 4 comments
Open

Make it possible to run squashing without accessing Docker daemon #24

goldmann opened this issue May 25, 2015 · 4 comments

Comments

@goldmann
Copy link
Owner

It should be possible to run squashing on a provided tar archive containing the image.

@goldmann goldmann added this to the Future milestone May 25, 2015
@goldmann
Copy link
Owner Author

Implementing this shouldn't be that hard. What we will need to check is for sure that the exported archive does contain single image/tag. If we would have more than one - we would not be able to select which one the user was thinking about.

From top of my head - I'm also unsure if untagged images contain repositories or manifest.json files to describe the image. If these files do not exist in exported archive, then we would either: fail or read all layers to determine the top (image) layer.

@goldmann goldmann removed the squash label Jul 25, 2016
@goldmann goldmann removed this from the Future milestone Mar 15, 2017
@qwertycody
Copy link

Any update on if you guys might try to target doing this?

@gabs79
Copy link

gabs79 commented Sep 19, 2023

In addition to squash off a provided tar, I would also be helpful to do it off a container image registry.

@cmahnke
Copy link

cmahnke commented Aug 13, 2024

This would als be useful when using cloud based builders like kaniko...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants