Merge pull request #405 from Squidly271/patch-18

Code change to prevent CA from modifying system file
This commit is contained in:
tom mortensen
2018-10-19 08:45:43 -07:00
committed by GitHub
@@ -176,7 +176,9 @@ if ($_GET['updateContainer']){
stopContainer($Name);
}
// force kill container if still running after 10 seconds
removeContainer($Name);
if ( ! $_GET['communityApplications'] ) {
removeContainer($Name);
}
execCommand($cmd);
$DockerClient->flushCaches();
$newImageID = $DockerClient->getImageID($Repository);