mirror of
https://github.com/unraid/webgui.git
synced 2026-05-24 15:19:55 -05:00
Docker: fix running status detection
This commit is contained in:
@@ -21,7 +21,7 @@ Tag="icon-docker"
|
||||
require_once "$docroot/plugins/dynamix.docker.manager/include/DockerClient.php";
|
||||
|
||||
$DockerClient = new DockerClient();
|
||||
$DockerStopped = pgrep('dockerd')===false;
|
||||
exec("/etc/rc.d/rc.docker status",$dummy,$DockerStopped);
|
||||
|
||||
function strposX($s, $c, $n=1) {
|
||||
$p = 0;
|
||||
|
||||
Reference in New Issue
Block a user