mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +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['HostConfig']['Mounts'] = $mounts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$requestBody['Hostname'] = $container->GetIdentifier();
|
||||||
|
|
||||||
$url = $this->BuildApiUrl('containers/create?name=' . $container->GetIdentifier());
|
$url = $this->BuildApiUrl('containers/create?name=' . $container->GetIdentifier());
|
||||||
try {
|
try {
|
||||||
$this->guzzleClient->request(
|
$this->guzzleClient->request(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue