mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
[autoscaler/docker] Relax missing docker section (#9105)
This commit is contained in:
@@ -152,7 +152,7 @@ def kill_node(config_file, yes, hard, override_cluster_name):
|
||||
setup_commands=[],
|
||||
ray_start_commands=[],
|
||||
runtime_hash="",
|
||||
docker_config=config["docker"])
|
||||
docker_config=config.get("docker"))
|
||||
|
||||
_exec(updater, "ray stop", False, False)
|
||||
|
||||
@@ -291,7 +291,7 @@ def get_or_create_head_node(config, config_file, no_restart, restart_only, yes,
|
||||
setup_commands=init_commands,
|
||||
ray_start_commands=ray_start_commands,
|
||||
runtime_hash=runtime_hash,
|
||||
docker_config=config["docker"])
|
||||
docker_config=config.get("docker"))
|
||||
updater.start()
|
||||
updater.join()
|
||||
|
||||
@@ -412,7 +412,7 @@ def exec_cluster(config_file,
|
||||
setup_commands=[],
|
||||
ray_start_commands=[],
|
||||
runtime_hash="",
|
||||
docker_config=config["docker"])
|
||||
docker_config=config.get("docker"))
|
||||
|
||||
def wrap_docker(command):
|
||||
container_name = config["docker"]["container_name"]
|
||||
@@ -534,7 +534,7 @@ def rsync(config_file,
|
||||
setup_commands=[],
|
||||
ray_start_commands=[],
|
||||
runtime_hash="",
|
||||
docker_config=config["docker"])
|
||||
docker_config=config.get("docker"))
|
||||
if down:
|
||||
rsync = updater.rsync_down
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user