fix: also check docker socks permission on validation
This commit is contained in:
parent
5b877b84c2
commit
0509da6730
@ -189,7 +189,7 @@ function validateServer(Server $server, bool $throwError = false)
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
$server->settings->is_reachable = true;
|
$server->settings->is_reachable = true;
|
||||||
|
instant_remote_process(["docker ps"], $server, $throwError);
|
||||||
$dockerVersion = instant_remote_process(["docker version|head -2|grep -i version| awk '{print $2}'"], $server, $throwError);
|
$dockerVersion = instant_remote_process(["docker version|head -2|grep -i version| awk '{print $2}'"], $server, $throwError);
|
||||||
if (!$dockerVersion) {
|
if (!$dockerVersion) {
|
||||||
$dockerVersion = null;
|
$dockerVersion = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user