Skip to content

Fix image pull progress when reported in seconds#3921

Merged
jvstme merged 1 commit into
masterfrom
issue_3919_fix_pull_progress_when_reported_in_seconds
Jun 1, 2026
Merged

Fix image pull progress when reported in seconds#3921
jvstme merged 1 commit into
masterfrom
issue_3919_fix_pull_progress_when_reported_in_seconds

Conversation

@jvstme
Copy link
Copy Markdown
Collaborator

@jvstme jvstme commented Jun 1, 2026

Newer Docker daemon versions (tested with 29.5.2)
report layer extraction progress using only
elapsed seconds instead of current and total
bytes.

{"status":"Extracting","progressDetail":{"current":3,"units":"s"},"id":"9cb31e2e37ea"}

In that case, we will now ignore the layer
extraction progress (because we cannot display
per-layer seconds, and they are not very useful)
and only include the layer's full size in the
extracted_bytes counter when the layer completes
extraction.

The pull progress indicator in the CLI still looks
the same, but the extraction counter is less
granular with newer Docker versions than with
older ones.

video

Fixes #3919

Newer Docker daemon versions (tested with 29.5.2)
report layer extraction progress using only
elapsed seconds instead of current and total
bytes.

```json
{"status":"Extracting","progressDetail":{"current":3,"units":"s"},"id":"9cb31e2e37ea"}
```

In that case, we will now ignore the layer
extraction progress (because we cannot display
per-layer seconds, and they are not very useful)
and only include the layer's full size in the
`extracted_bytes` counter when the layer completes
extraction.

The pull progress indicator in the CLI still looks
the same, but the extraction counter is less
granular with newer Docker versions than with
older ones.
@jvstme jvstme requested a review from un-def June 1, 2026 07:53
@jvstme jvstme merged commit b44fa84 into master Jun 1, 2026
50 checks passed
@jvstme jvstme deleted the issue_3919_fix_pull_progress_when_reported_in_seconds branch June 1, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Incorrect pull progress with recent Docker versions

2 participants