1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-12-15 13:56:44 +00:00

update, support network alias

This commit is contained in:
2019-06-13 17:46:12 +08:00
parent 84dac98ccc
commit 694dcf2b08
2 changed files with 3 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ def create_container():
hostname='node1',
detach=True,
host_config=host_config,
environment = {"repo": docker_workspace, "NVIDIA_VISIBLE_DEVICES": docker_gpus},
environment = {"repo": '', "NVIDIA_VISIBLE_DEVICES": '0'},
networking_config=networking_config,
runtime='nvidia'
)