diff --git a/UPGRADING.md b/UPGRADING.md index c394f5d5..e5e9815f 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -5,6 +5,19 @@ You should only upgrade when a new version is tagged, Restarting the `pm2` and `apache2` process may interupt running process please be careful when upgrading! +## 0.5.0 -> 0.5.1 + +``` +cd /var/www/LxdMosaic + +git fetch + +git checkout 0.5.1 + +git pull + +``` + ## 0.4.0 -> 0.5.0 The upgrade path is as follows for both ubuntu & centos diff --git a/src/classes/Tools/Containers/GetHostsContainers.php b/src/classes/Tools/Containers/GetHostsContainers.php index a3e35097..4a095e20 100755 --- a/src/classes/Tools/Containers/GetHostsContainers.php +++ b/src/classes/Tools/Containers/GetHostsContainers.php @@ -59,9 +59,10 @@ private function addContainersStateAndInfo($client, $containers) foreach ($containers as $container) { $state = $client->containers->state($container); $info = $client->containers->info($container); - - if ($info["location"] !== "none" && $info["location"] !== $hostInfo["environment"]["server_name"]) { - continue; + if ($info["location"] !== "") { + if ($info["location"] !== "none" && $info["location"] !== $hostInfo["environment"]["server_name"]) { + continue; + } } $details[$container] = [