diff --git a/cmd/ctr/fetch.go b/cmd/ctr/fetch.go index 0b68acd47..36e90e0ad 100644 --- a/cmd/ctr/fetch.go +++ b/cmd/ctr/fetch.go @@ -69,7 +69,10 @@ func fetch(ctx context.Context, ref string, clicontext *cli.Context) (containerd progress := make(chan struct{}) go func() { - showProgress(pctx, ongoing, client.ContentStore(), os.Stdout) + if !clicontext.GlobalBool("debug") { + // no progress bar, because it hides some debug logs + showProgress(pctx, ongoing, client.ContentStore(), os.Stdout) + } close(progress) }()