diff --git a/daemon/containerd/progress.go b/daemon/containerd/progress.go index 81e039b6fe7a6..6b9bb1187cc22 100644 --- a/daemon/containerd/progress.go +++ b/daemon/containerd/progress.go @@ -54,6 +54,9 @@ func showProgress(ctx context.Context, ongoing *jobs, w io.Writer, updateFunc up return } case <-ctx.Done(): + // Don't use the context that is already done. + // Perform the last update with a new context. + ctx := context.Background() updateFunc(ctx, ongoing, out, start) return }