diff --git a/cmd/scan.go b/cmd/scan.go index 24df9011..5e4f8b90 100644 --- a/cmd/scan.go +++ b/cmd/scan.go @@ -62,7 +62,7 @@ But you can always override qodana.yaml options with the following command-line if options.ShowReport { core.ShowReport(options.ResultsDir, options.ReportDir, options.Port) - } else { + } else if !core.IsContainer() && core.IsInteractive() { core.WarningMessage( "To view the Qodana report later, run %s in the current directory or add %s flag to %s", core.PrimaryBold("qodana show"),