1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-06-07 13:51:56 +00:00

all in one

This commit is contained in:
Newnius 2019-12-26 19:16:05 +08:00
parent c71af43f46
commit 6cf49f9285

View File

@ -131,7 +131,7 @@ class MyHandler(BaseHTTPRequestHandler):
try: try:
script = " ".join([ script = " ".join([
"docker run", "docker run",
"--gpus '\\\"device=" + docker_gpus + "\\\"'", "--gpus '\"device=" + docker_gpus + "\"'",
"--detach=True", "--detach=True",
"--hostname " + docker_name, "--hostname " + docker_name,
"--network " + docker_network, "--network " + docker_network,