From 5ed3bb2a0c32a447f31e4e01ae96f20a04b523d9 Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Mon, 4 Sep 2017 00:20:45 +0200 Subject: [PATCH] control: change container name prefix to ptdl- as underscores are not valid as hostnames --- control/docker_environment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/docker_environment.go b/control/docker_environment.go index 97ea03f..b4b7be6 100644 --- a/control/docker_environment.go +++ b/control/docker_environment.go @@ -91,7 +91,7 @@ func (env *dockerEnvironment) Create() error { MemorySwap: env.server.Settings.Swap, } createContainerOpts := docker.CreateContainerOptions{ - Name: "ptdl_" + env.server.UUIDShort(), + Name: "ptdl-" + env.server.UUIDShort(), Config: containerConfig, HostConfig: containerHostConfig, Context: env.context,