mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 06:20:14 +00:00
Merge pull request #6600 from nextcloud/enh/6589/add-hostname
CreateContainer: always add a Hostname to each container
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user