keep-starknet-strange/madara-tsukuyomi
Feat: Show progress of docker pull
Open
#30 opened on Aug 21, 2023
enhancementgood first issue
Repository metrics
- Stars
- (21 stars)
- PR merge metrics
- (PR metrics pending)
Description
docker.modem.followProgress has an onProgress event listener. We can use that to detect the progress of the Docker installation and show it to the user. Currently, we just show a simple infinite loader.
The progress event fired by Dockerode isn't a simple event with progress percentage, instead it contains the actual logs you see during docker pull. So we need to come up with a neat way to show the progress to the user. Some ideas
- Calculate the total progress % using some formula
- Show a dialog box which shows the logs as it is from the user