docker / cli

The Docker CLI
Apache License 2.0
4.85k stars 1.91k forks source link

Downloaded percentage #2688

Open gleich opened 4 years ago

gleich commented 4 years ago

Description

Show the percent downloaded during the download of an image. Would look something like this:

edaf0a6b092f: Downloading [=======================================>           ]  7.916MB/9.996MB, 79%

I would love to work on this, just wondering what you guys think of the idea beforehand! Thank you :)

thaJeztah commented 4 years ago

I'm a bit on the fence on adding this, as there's already both a progress-bar and absolute values on size, so it feels like this would overlap with both.

Could you elaborate why you think a percentage would be an improvement, and what you're missing in the current output?

maximillianfx commented 4 years ago

Hi there. A suggestion could be show the total size of image being downloaded below of Pulling from..., and update the percentage during the download in the different layers (I think that all that layers with multiples sizes being rendered and updated on the same time a little confusing).

Only UI/UX improvements 😃

Captura de Tela 2020-08-28 às 17 24 01
gleich commented 4 years ago

Hey @thaJeztah and @maximillianfx! My original idea was that the download percentage is a little more exact than the loading bar but I really love @maximillianfx's idea. What do you think @thaJeztah?