aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rumba/testbeds/dockertb.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rumba/testbeds/dockertb.py b/rumba/testbeds/dockertb.py
index 4079ffe..2ee4561 100644
--- a/rumba/testbeds/dockertb.py
+++ b/rumba/testbeds/dockertb.py
@@ -80,9 +80,9 @@ class Testbed(mod.Testbed):
# Start all nodes
for node in experiment.nodes:
self.running_containers[node.name] = docker_client.containers.run(
- self.base_image, command=node.startup_command, name=node.name,
- detach=True, network="none", privileged=True,
- devices=["/dev/fuse"])
+ self.base_image, command=node.startup_command,
+ name='node-' + node.name, detach=True, network="none",
+ privileged=True, devices=["/dev/fuse"])
logger.info("Nodes starting")