Mercurial > repos > fubar > tool_factory_2
diff toolfactory/rgToolFactory2.py @ 104:05cb28bf2bbc draft
Uploaded
author | fubar |
---|---|
date | Fri, 27 Nov 2020 23:10:36 +0000 |
parents | 2ca51677d6d1 |
children | 373e1f9cb609 |
line wrap: on
line diff
--- a/toolfactory/rgToolFactory2.py Fri Nov 27 22:38:43 2020 +0000 +++ b/toolfactory/rgToolFactory2.py Fri Nov 27 23:10:36 2020 +0000 @@ -741,7 +741,8 @@ tvolname = tvol.name destdir = "/toolfactory/ptest" imrep = os.path.join(destdir,repname) - container = client.containers.run(planemoimage,'sleep 10000m', detach=True, user="biodocker", + #container = client.containers.run(planemoimage,'sleep 10000m', detach=True, user="biodocker", + container = client.containers.run(planemoimage, detach=True, user="biodocker", network="host", volumes={f"{tvolname}": {'bind': '/toolfactory', 'mode': 'rw'}}) cl = f"groupmod -g {dgroup} docker" prun(container, tout, cl, user="root")