mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
DockerActionManager: always add a Hostname to each container
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
3719a89e0e
commit
fcc74e2105
1 changed files with 2 additions and 0 deletions
|
|
@ -584,6 +584,8 @@ readonly class DockerActionManager {
|
|||
$requestBody['HostConfig']['Mounts'] = $mounts;
|
||||
}
|
||||
|
||||
$requestBody['Hostname'] = $container->GetIdentifier();
|
||||
|
||||
$url = $this->BuildApiUrl('containers/create?name=' . $container->GetIdentifier());
|
||||
try {
|
||||
$this->guzzleClient->request(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue