#!/usr/bin/php <?PHP $startStopped = true; require_once("/usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php"); $DockerClient = new DockerClient(); $DockerTemplates = new DockerTemplates(); $info = getRunningContainers(); foreach ($info as $contName=>$cont) { if ( $startStopped && ! $cont['running'] ) { $DockerClient->startContainer($cont['Id']); } if ( $cont['running'] || $startStopped ) { echo "$contName Size: "; $size = rtrim(exec(