1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-04-28 20:09:08 +00:00

Merge pull request #7082 from JeremieCrinon/fix/show-stopped-containers-api-and-dashboard

fix: show stopped and failed containers in dashboard and API
This commit is contained in:
FreddleSpl0it
2026-03-03 14:01:03 +01:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ function docker($action, $service_name = null, $attr1 = null, $attr2 = null, $ex
break;
case 'info':
if (empty($service_name)) {
curl_setopt($curl, CURLOPT_URL, 'https://dockerapi:443/containers/json');
curl_setopt($curl, CURLOPT_URL, 'https://dockerapi:443/containers/json?all=true');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 0);
curl_setopt($curl, CURLOPT_TIMEOUT, $DOCKER_TIMEOUT);