podman-py
podman-py copied to clipboard
Python bindings for Podman's RESTful API
I'm adding `podman` module to [nmci](https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/tree/main/nmci), an internal python library for NetworkManager testing. The library is imported in at least 2 commands run per test in a suite with some...
exec_run(cmd, socket=True) isn't implemented: blocks and only returns resulting stdout/stderr bytes
As per [docs](https://podman-py.readthedocs.io/en/latest/podman.domain.containers.html#podman.domain.containers.Container.exec_run) and docker API examples, `c.exec_run(cmd, socket=True)` should return immediately with socket to be used for process' stdin/out/err as the second value of the returned tuple. However, podman-py...
docker-py provides two constants `RUN_CREATE_KWARGS` and `RUN_HOST_CONFIG_KWARGS` that a consumer might use to validate kwargs they are passing to the `CreateMixin.create` method. https://github.com/docker/docker-py/blob/a3652028b1ead708bd9191efb286f909ba6c2a49/docker/models/containers.py#L1122-L1134 I would like podman-py to provide either...
Param all is now supported by prune. Param external is now supported by prune. Filter by label, which was already supported, is now documented and tested. Resolves: https://github.com/containers/podman-py/issues/312
This commit fixes issue #528 by adding a default value to parameters layers and outputformat. This change aligns the behavior with podman-remote. @inknos take a look, I've also added a...
Hello, running coverage tests with tox I've found that it deleted my toolbox container (and maybe another one, I'm not sure). I run tests on Fedora Silverblue 42, as my...
Part of: - #532 Follow up to: - #546 Docs and example: https://docs.readthedocs.com/platform/stable/config-file/v2.html#packages Current failure: https://app.readthedocs.org/projects/podman-py/builds/28555767/ ``` Config file validation error Config validation error in python.install. Expected a list, got...
The init function of PodmanClient was never loading the system configuration when no kwargs were specified. This change makes it so that we load the core data (base_url and identity)...
Introduce the `PodmanCommand` class, which is responsible for providing a Pythonic interface over the `podman` binary. The only prerequisite is that the `podman` binary must be installed in the user's...
I was in the process of filing a bug on the broken example in the published documentation, but the source file was correct! It does look like that [has been...