podman-py
podman-py copied to clipboard
Python bindings for Podman's RESTful API
@inknos we haven't cut a 5.1 release yet. Could you PTAL? cc @jwhonce
``` remove: Delete container when the container's processes exit. Default: False. >>> import podman >>> podman.__version__ '5.0.0' >>> c = client.containers.run("myimage", detach=True, remove=True, command="/bin/false") >>> c.status 'exited' 26034e386c92 myimage /bin/false...
Some repositories (AWS lambdas in ECR) have issues with the oci manifest format and require the manifest be pushed in the docker/v2s2 format. If using the podman cli adding the...
I am trying to pass extra_hosts argument to build without success. Bellow is a simple way to reproduce this issue: ``` import podman from podman import PodmanClient CONTAINER_SOCKET_PATH = "unix:///var/run/docker.sock"...
Added support for streaming output in Container.exec_run(). Streaming functionality should support demuxed output if specified. Return format should match docker's python library.
When trying to get the status of a container instance running on a remote podman host, I get the following error. ```python Out[5]: In [6]: container_inst.id Out[6]: '859c3172e0de5e27934ba7bcbd190d0949227bfe973ded77658d25f30a1585c2' In [7]:...
Currently in containers_create.create(), the ports dict parameter is described as > The keys of the dictionary are the ports to bind inside the container, either as an integer or a...
Addressing #438 Changes 1. Integrate Configuration Management: Use the enhanced `PodmanConfig` class to dynamically retrieve and apply network options from `containers.conf`. 2. Utilize Detailed Logging: Configure logging to capture detailed...
Hi, I tried all combinations I could think of but could not figure out how to create a TCP namespace forwarding of a host port to the container. Specifically I...
This is a WIP pr. before getting merged I expect **a lot** of changes and reviews. The automation, release process and gating will need to be tested as well before...