podman-py
podman-py copied to clipboard
Question/Information required on some aspects of podman-py module
Hello,
I'm using podman-py
for some container action, and I have a couple of questions;
-
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(fromPodmanClient().images.pull
) withstream=True
-
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?
-
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
@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?
SGTM