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

[feature request] add options to specify where layers are stored localy #5899

Open
mcarbonneaux opened this issue Jan 7, 2025 · 2 comments

Comments

@mcarbonneaux
Copy link

mcarbonneaux commented Jan 7, 2025

in issue "#4638" we see echange about the imposibility to specify local localtion of the layers with "--cache-to" and "--cache-from"...

in ci/cd in general you can cache (gitlab cache) in the pipe line between jobs execution, but you need to kown where the data are stored and many build tool had option to specify where cache file are stored.

can you add the posibility to specify the local location with --cache-to and --cache-from ?

and at minima where the default location of the layers ?

@flouthoc
Copy link
Collaborator

I think we were working on something similar at one point #4879 ( not sure if that is what you need ).

But buildah also allows you to manually configure runroot and graphroot the paths which buildah uses from all the persistent storage. I would suggest taking a look at storage.conf.

@mcarbonneaux
Copy link
Author

mcarbonneaux commented Jan 20, 2025

#4879 seem to match what i say !

but you've right about runroot and graphroot and stroage.conf i think... i while go to try that!

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

No branches or pull requests

2 participants