-
Notifications
You must be signed in to change notification settings - Fork 19
containers.list() gathers too much data #72
Comments
FYI here's how it's done in docker: where the IMHO having all calls to |
hi so just checking in, are there any updates that you guys would like to share ? thank you |
The first versions are available in podman 1.9.2 and you can play with it there. Python bindings should be being worked on in https://github.com/containers/podman-py. We would love to get contributors working on it. |
thanks for the update, great news indeed, will give it a try at the next opportunity ! |
hi again
I take it version 1.9.2 is about to be published, right ? also as far as the python wrapper, is there an rpm (preferred) or should I thanks ! |
I'm facing an issue with the simplest possible API call that I could think about
with podman.Client() as client:
...: list(client.containers.list())
which on my setup, with one single container running, takes in the 2 minutes
This issue was first opened in the plain podman repo
containers/podman#4656
in that issue we have established that this mundane API call actually gathers information about disk space, which in this particular instance I do not need at all, but that slows things down terribly; the fact that 2 minutes are needed here is clearly a concern too, but should be taken separately
bottom line, I would like to know if there is currently a way to quickly obtain a simple list of containers, with minimal - even if quite incomplete - attached information;
The text was updated successfully, but these errors were encountered: