aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4
diff options
context:
space:
mode:
Diffstat (limited to 'moonv4')
-rw-r--r--moonv4/moon_orchestrator/moon_orchestrator/dockers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/moonv4/moon_orchestrator/moon_orchestrator/dockers.py b/moonv4/moon_orchestrator/moon_orchestrator/dockers.py
index 2eecdc0e..0b53de96 100644
--- a/moonv4/moon_orchestrator/moon_orchestrator/dockers.py
+++ b/moonv4/moon_orchestrator/moon_orchestrator/dockers.py
@@ -148,7 +148,7 @@ RUN pip3 install --upgrade .
output = self.docker.create_container(image=self.tag,
command=list(self.run_cmd),
- hostname=str(self.id.replace("_", "-")),
+ hostname=str(self.id.replace("_", "-"))[:63],
name=str(self.id),
networking_config=self.__get_docker_network(),
host_config=host_config