mirror of
https://github.com/unraid/webgui.git
synced 2026-05-09 05:41:17 -05:00
Merge pull request #220 from Squidly271/patch-3
Display message if docker service fails to start
This commit is contained in:
@@ -19,4 +19,8 @@ if ($var['fsState'] != "Started") {
|
||||
echo "<p class='notice'>Array must be <span class='strong big'>started</span> to view Docker containers.</p>";
|
||||
return;
|
||||
}
|
||||
?>
|
||||
if ( !is_file('/var/run/dockerd.pid') || (!is_dir('/proc/'.@file_get_contents('/var/run/dockerd.pid'))) ) {
|
||||
echo "<p class='notice'>Docker Service failed to start.</p>";
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user