mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00: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) {
|
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 {
|
try {
|
||||||
$this->guzzleClient->delete($url);
|
$this->guzzleClient->delete($url);
|
||||||
} catch (\GuzzleHttp\Exception\RequestException $e) {
|
} catch (\GuzzleHttp\Exception\RequestException $e) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue