mirror of
https://github.com/unraid/webgui.git
synced 2026-02-20 08:09:23 -06:00
Update DockerClient.php
This commit is contained in:
@@ -1150,7 +1150,7 @@ class DockerUtil {
|
||||
}
|
||||
|
||||
public static function custom() {
|
||||
return static::docker("network ls --filter driver='bridge' --filter driver='macvlan' --filter driver='ipvlan' --format='{{.Name}}' 2>/dev/null|grep -v '^bridge$'",true);
|
||||
return static::docker("network ls --filter driver='bridge' --filter driver='macvlan' --filter driver='ipvlan' --format='{{.Name}}' 2>/dev/null | grep -v '^bridge$'",true);
|
||||
}
|
||||
|
||||
public static function network($custom) {
|
||||
@@ -1160,7 +1160,7 @@ class DockerUtil {
|
||||
}
|
||||
|
||||
public static function cpus() {
|
||||
exec('cat /sys/devices/system/cpu/*/topology/thread_siblings_list|sort -nu', $cpus);
|
||||
exec('cat /sys/devices/system/cpu/*/topology/thread_siblings_list | sort -nu', $cpus);
|
||||
return $cpus;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user