-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Is there any way to override the storage.conf options? #7309
Comments
podman --storage-opt...? Is that what you would like to use? |
Thanks for the response. Please correct me if I'm wrong |
I think you are right. I don't see a way to change the additionalimagestores using Anyway, I think that allowing a different additionalimagestores per container could cause some issues. For example how would we find the image referred by the container if the stores can change? We would need to store the configuration per each container |
My use case is a bit special. I would like to pull the images to the additional storage using: |
I am working on a better fix for this, but this will work. podman image pull myimage:v1 --storage-opt=overlay.mountopt=nodev --root /storage |
Thanks Dan! it actually worked! |
I have a PR for this, just need to get it merged. |
A friendly reminder that this issue had no activity for 30 days. |
This is now fixed in master branch. |
I would like to run some podman commands with different options in the storage.conf.
Without this option I need to use "sed" to comment and uncomment specific lines in the storage.conf before and after running my special podman command which is not ideal with multiprocessing.
I'd prefer to run something like this:
podman image pull --storage storage.options.additionalimagestores=["/storage"]
Is it possible?
The text was updated successfully, but these errors were encountered: