You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to implement a more complete stream output and progress bar inside the stream output by default during pull operation as occurs in docker py like:
I am aware currently pull function has progress_bar parameter but it just allows to show an animated progress bar. I think that having so detailed stream output as above as occurs in docker py could be useful.
You can test it by this simple Python script:
importpodmanfrompodmanimportPodmanClientimportdockerfromdockerimportDockerClientimportjsonrepository="docker.io/ohmyzsh/zsh"## Podman use caseclient=podman.from_env()
resp=client.images.pull(repository, stream=True)
forlineinresp:
print(line)
## Docker use caseclient=docker.from_env()
resp=client.api.pull(repository, stream=True, decode=True)
forlineinresp:
print(line)
The text was updated successfully, but these errors were encountered:
D3vil0p3r
changed the title
Implement progress bar in stream output during image pull
[FEATURE] Implement progress bar in stream output during image pull
Dec 19, 2024
Currently the stream output during pull operation seems to appear like a single element
stream
in JSON format, for example:Is it possible to implement a more complete stream output and progress bar inside the stream output by default during pull operation as occurs in docker py like:
I am aware currently pull function has
progress_bar
parameter but it just allows to show an animated progress bar. I think that having so detailed stream output as above as occurs in docker py could be useful.You can test it by this simple Python script:
The text was updated successfully, but these errors were encountered: