podman-py
podman-py copied to clipboard
Python bindings for Podman's RESTful API
Signed-off-by: Daniel J Walsh
I guess this is supposed to happen to remove other empty parameters but it causes problem with empty environment variables. They get removed during data preparation in api/http_utils.py function _filter_values....
podman image scp has a new api endpoint, add support here.
Using podman-py we cannot connect to a local unix-socket. Irrespective of how we communicate the protocol, it will always end up as http. The following does not work, it will...
I have a uri like this uri = "unix:///Users/muzammil.shahbaz/.local/share/containers/podman/machine/podman-machine-default/podman.sock" This exceeds the standard 64 characters. On execution, I get the following error: ``` Exception has occurred: UnicodeError encoding with 'idna'...
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...
**Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)** /kind bug **Description** When trying to run a container (with possibly invalid configuration) via `podman-py`,...
Hi ! I just install a fresh **Podman 3.4.4** on my **Ubuntu 22.04** system: ``` host: arch: amd64 buildahVersion: 1.23.1 cgroupControllers: - memory - pids cgroupManager: systemd cgroupVersion: v2 conmon:...
Have met a problem during building an image through podman-py: ``` File "/usr/local/lib/python3.8/site-packages/podman/domain/images_build.py", line 89, in build params["dockerfile"] = api.prepare_containerfile(kwargs["path"], params["dockerfile"]) File "/usr/local/lib/python3.8/site-packages/podman/api/tar_utils.py", line 50, in prepare_containerfile shutil.copy2(dockerfile_path, proxy_path, follow_symlinks=False)...
According to the documentation listed here https://github.com/containers/podman-py/blob/main/podman/domain/containers_create.py ``` volumes (Dict[str, Dict[str, str]]): A dictionary to configure volumes mounted inside the container. The key is either the host path or a...