containers / containers/podman-py
Question/Information required on some aspects of podman-py module
- Dominant language
- Python
- Stars
- 381
- Forks
- 140
- Avg merge
- 5h 30m
- Merged PRs (30d)
- 1
Description
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](https://github.com/containers/podman-py/blob/21a48cb81808b7e479630ecb612df32df4ad3550/podman/domain/containers_run.py#L80). 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`

Contributor guide
Assessment
This issue has not been assessed yet.