control: change container name prefix to ptdl- as underscores are not valid as hostnames
This commit is contained in:
parent
23200339ce
commit
5ed3bb2a0c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user