We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b96674 commit 8c17a35Copy full SHA for 8c17a35
cmd/compose/up.go
@@ -223,6 +223,7 @@ func validateFlags(up *upOptions, create *createOptions) error {
223
return nil
224
}
225
226
+//nolint:gocyclo
227
func runUp(
228
ctx context.Context,
229
dockerCli command.Cli,
@@ -330,7 +331,7 @@ func runUp(
330
331
WaitTimeout: timeout,
332
Watch: upOptions.watch,
333
Services: services,
- NavigationMenu: upOptions.navigationMenu && ui.Mode != "plain",
334
+ NavigationMenu: upOptions.navigationMenu && ui.Mode != "plain" && dockerCli.In().IsTerminal(),
335
},
336
})
337
0 commit comments