diff --git a/cmd/info.go b/cmd/info.go index 04a9f892..e8ca102f 100644 --- a/cmd/info.go +++ b/cmd/info.go @@ -33,6 +33,7 @@ var infoCmd = &cobra.Command{ and image version.`, RunE: func(cmd *cobra.Command, args []string) error { ctx := log.WithVerbosity(context.Background(), verbose) + ctx = context.WithValue(ctx, docker.CtxIsLogCmdKey{}, true) ctx = log.WithLogger(ctx, logger) version, err := docker.CheckDockerConfig()