diff --git a/cli/command/image/tree.go b/cli/command/image/tree.go index 9c762005b137..b572207c9226 100644 --- a/cli/command/image/tree.go +++ b/cli/command/image/tree.go @@ -124,12 +124,10 @@ func printImageTree(dockerCLI command.Cli, images []topImage) error { headerColor := aec.NewBuilder(aec.DefaultF, aec.Bold).ANSI topNameColor := aec.NewBuilder(aec.BlueF, aec.Underline, aec.Bold).ANSI normalColor := aec.NewBuilder(aec.DefaultF).ANSI - greenColor := aec.NewBuilder(aec.GreenF).ANSI if !out.IsTerminal() { headerColor = noColor{} topNameColor = noColor{} normalColor = noColor{} - greenColor = noColor{} warningColor = noColor{} } @@ -166,18 +164,18 @@ func printImageTree(dockerCLI command.Cli, images []topImage) error { return d.ContentSize }, }, - { - Title: "Used", - Align: alignCenter, - Width: 4, - Color: &greenColor, - DetailsValue: func(d *imageDetails) string { - if d.Used { - return "✔" - } - return " " - }, - }, + // TODO: Needs https://github.com/moby/moby/pull/47501 + // { + // Title: "Used", + // Align: alignCenter, + // Width: 4, + // Color: &greenColor, + // DetailsValue: func(d *imageDetails) string { + // if d.Used { + // return "✔" + // } + // return " " + // }, } nameWidth := int(width)