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

Arguments missing for podman load and podman login? #419

Open
CVC0316 opened this issue Aug 13, 2024 · 1 comment
Open

Arguments missing for podman load and podman login? #419

CVC0316 opened this issue Aug 13, 2024 · 1 comment

Comments

@CVC0316
Copy link

CVC0316 commented Aug 13, 2024

Hi all!

I'm currently using podman-py to automatically load, tag and push images to a local registry.

Now I've run into two problems.

The first one is that the images.load method takes no arguments like a path - at least as far as I can see. If I need to load an image from a tgz archive I'd expect the load method to accept a path instead of binary only. I'm not sure how to load any images with this implementation as I'd basically have to pipe the tgz into the method somehow? With podman I have the option "-i" but I don't see anything like that in the methods currently implemented.

Furthermore I wanted to ask if there's an option to add a flag like --tls-verify=false for the login method. That's a smaller thing that's rather easy to work around of course. Still it might be nice to have if you're working with a local registry.

Best regards and thanks in advance!

@inknos
Copy link
Contributor

inknos commented Aug 14, 2024

@CVC0316 , thanks for the report. Currently, the podman-py's api is slightly off sync with podman, and some opts/pars might be missing. I am planning to bring it back to sync, but it takes time.

Would you like to open a PR to fix it or to take care of part of it? I can help if needed.

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