Commit 0562c77d authored by Samuel GAIST's avatar Samuel GAIST

[dock][Host] Add support for container naming

parent f6ef959f
......@@ -343,6 +343,10 @@ class Host(object):
if user:
cmd.append(user)
name = container.name
if name:
cmd.append(name)
if container.image in Host.images_cache:
image_infos = Host.images_cache[container.image]
if ('capabilities' in image_infos) and ('gpu' in image_infos['capabilities']):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment