dstack icon indicating copy to clipboard operation
dstack copied to clipboard

[Feature]: Show Docker image pull progress

Open jvstme opened this issue 11 months ago • 1 comments

Problem

It can take several minutes (10+) to pull the Docker image to the runner instance depending on the image size and network speed. Currently, dstack only shows that the job status is pulling, but it is not clear how long it will take, and the user may start to doubt that there is any progress at all.

Solution

Show the pull progress in dstack apply and dstack ps.

 NAME     BACKEND          RESOURCES                                       PRICE    STATUS         SUBMITTED 
 llama31  aws (us-east-1)  4xCPU, 16GB, 1xL4 (24GB), 100.0GB (disk), SPOT  $0.2709  pulling (13%)  1 min ago

This will probably only be possible with VM-based backends.

Workaround

No response

Would you like to help us implement this feature by sending a PR?

Yes

jvstme avatar Jan 13 '25 21:01 jvstme