diff --git a/components/engine/api/client/run.go b/components/engine/api/client/run.go index 1fd392c04d..3b3a1a2c77 100644 --- a/components/engine/api/client/run.go +++ b/components/engine/api/client/run.go @@ -91,7 +91,7 @@ func (cli *DockerCli) CmdRun(args ...string) error { } if hostConfig.OomKillDisable != nil && *hostConfig.OomKillDisable && hostConfig.Memory == 0 { - fmt.Fprintf(cli.err, "WARNING: Dangerous only disable the OOM Killer on containers but not set the '-m/--memory' option\n") + fmt.Fprintf(cli.err, "WARNING: Disabling the OOM killer on containers without setting a '-m/--memory' limit may be dangerous.\n") } if len(hostConfig.DNS) > 0 {