mirror of
https://github.com/wassname/ray.git
synced 2026-08-14 12:40:23 +08:00
[docker/dashboard] Fix ray dashboard (#12899)
This commit is contained in:
@@ -598,7 +598,8 @@ class DockerCommandRunner(CommandRunnerInterface):
|
||||
shutdown_after_run=False,
|
||||
):
|
||||
if run_env == "auto":
|
||||
run_env = "host" if cmd.find("docker") == 0 else "docker"
|
||||
run_env = "host" if (not bool(cmd)
|
||||
or cmd.find("docker") == 0) else "docker"
|
||||
|
||||
if environment_variables:
|
||||
cmd = _with_environment_variables(cmd, environment_variables)
|
||||
|
||||
Reference in New Issue
Block a user