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

Question/Information required on some aspects of podman-py module #184

Open
mrbazzan opened this issue Jun 29, 2022 · 2 comments
Open

Question/Information required on some aspects of podman-py module #184

mrbazzan opened this issue Jun 29, 2022 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@mrbazzan
Copy link
Contributor

Hello,

I'm using podman-py for some container action, and I have a couple of questions;

  1. Is it possible to get real-time logging of what is happening during image build(from PodmanClient().images.build) in podman-py. I noticed that the option is available for pull(from PodmanClient().images.pull) with stream=True

  2. Does the PodmanClient support some kind of event loop that could be subscribed to, and receive the “stdout/stderr” as events regardless of podman command/method (build/pull) used?

  3. There is an issue (I think) with this line. The API doesn’t respect the REST endpoint, the REST returns a simple integer instead of JSON/dict.
    This prompts a TypeError, int object is not subscriptable

libpod

@mrbazzan
Copy link
Contributor Author

mrbazzan commented Jul 6, 2022

@rhatdan
I would like to submit a PR to take care of no. 3

@jwhonce @mwhahaha @msisj
Also, what do you think about 1&2?

@rhatdan
Copy link
Member

rhatdan commented Jul 7, 2022

SGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants