Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Show progress bar while image layers are downloading #7

@beeman

Description

@beeman

It would be great if we could get a visual indicator while the images are downloading.

Currently, it seems to be downloading some large files in the Processing Image layers task, but there's no visual clue for how long it takes.

$ lume pull macos-sequoia-vanilla:latest
[2025-02-03T13:04:14Z] INFO: Pulling image name=default image=macos-sequoia-vanilla:latest registry=ghcr.io organization=trycua
[2025-02-03T13:04:14Z] INFO: Getting registry authentication token
[2025-02-03T13:04:15Z] INFO: Fetching Image manifest
[2025-02-03T13:04:15Z] INFO: Pulling image repository=macos-sequoia-vanilla manifest_id=sha256_76f244a3090566b02220da75b66c6239e44550b6b06537ca39b1939ccdb0735d
[2025-02-03T13:04:15Z] INFO: Checking cache for manifest ID: sha256_76f244a3090566b02220da75b66c6239e44550b6b06537ca39b1939ccdb0735d
[2025-02-03T13:04:15Z] INFO: Checking for old versions of image to clean up image=macos-sequoia-vanilla current_manifest_id=sha256_76f244a3090566b02220da75b66c6239e44550b6b06537ca39b1939ccdb0735d
[2025-02-03T13:04:15Z] INFO: Cache miss or invalid cache, setting up new cache
[2025-02-03T13:04:15Z] INFO: Processing Image layers

UPDATE

Turns out there is an indicator, it just took about 9 minutes before it continued. If this is expected, it might be good to add a message about it.

[2025-02-03T13:04:14Z] INFO: Pulling image name=default image=macos-sequoia-vanilla:latest registry=ghcr.io organization=trycua
[2025-02-03T13:04:14Z] INFO: Getting registry authentication token
[2025-02-03T13:04:15Z] INFO: Fetching Image manifest
[2025-02-03T13:04:15Z] INFO: Pulling image repository=macos-sequoia-vanilla manifest_id=sha256_76f244a3090566b02220da75b66c6239e44550b6b06537ca39b1939ccdb0735d
[2025-02-03T13:04:15Z] INFO: Checking cache for manifest ID: sha256_76f244a3090566b02220da75b66c6239e44550b6b06537ca39b1939ccdb0735d
[2025-02-03T13:04:15Z] INFO: Checking for old versions of image to clean up image=macos-sequoia-vanilla current_manifest_id=sha256_76f244a3090566b02220da75b66c6239e44550b6b06537ca39b1939ccdb0735d
[2025-02-03T13:04:15Z] INFO: Cache miss or invalid cache, setting up new cache
[2025-02-03T13:04:15Z] INFO: Processing Image layers
 ** 9 MINUTES WAITING **
[2025-02-03T13:13:21Z] INFO: Downloading Image Progress: 1%
...snip
[2025-02-03T13:44:13Z] INFO: Downloading Image Progress: 100%
[2025-02-03T13:44:13Z] INFO:
[2025-02-03T13:44:13Z] INFO: Reassembling disk image...
[2025-02-03T13:44:13Z] INFO: Reassembling disk image: 0%
...snip
[2025-02-03T13:44:41Z] INFO: Reassembling disk image: 100%
[2025-02-03T13:44:41Z] INFO: Final disk image size: 42,95 GB
[2025-02-03T13:44:41Z] INFO: Expected size: 42,95 GB
[2025-02-03T13:44:41Z] INFO: Disk image reassembled successfully
[2025-02-03T13:44:41Z] INFO: Download complete: Files extracted to /Users/beeman/.lume/macos-sequoia-vanilla_latest/
[2025-02-03T13:44:41Z] INFO: Setting new VM mac address
[2025-02-03T13:44:41Z] INFO: Image pulled successfully organization=trycua name=macos-sequoia-vanilla_latest image=macos-sequoia-vanilla:latest registry=ghcr.io

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions