mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-01 03:22:48 +08:00
Remove anonymous volumes associated with the container when removing a container
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
fe99c3bc78
commit
412a5d8af7
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class DockerActionManager
|
|||
}
|
||||
|
||||
public function DeleteContainer(Container $container) {
|
||||
$url = $this->BuildApiUrl(sprintf('containers/%s', urlencode($container->GetIdentifier())));
|
||||
$url = $this->BuildApiUrl(sprintf('containers/%s?v=true', urlencode($container->GetIdentifier())));
|
||||
try {
|
||||
$this->guzzleClient->delete($url);
|
||||
} catch (\GuzzleHttp\Exception\RequestException $e) {
|
||||
|
|
Loading…
Reference in a new issue