mirror of
https://github.com/unraid/webgui.git
synced 2026-01-08 10:39:56 -06:00
Update DockerClient.php
This commit is contained in:
@@ -1163,6 +1163,7 @@ class DockerUtil {
|
||||
exec('cat /sys/devices/system/cpu/*/topology/thread_siblings_list|sort -nu', $cpus);
|
||||
return $cpus;
|
||||
}
|
||||
|
||||
public static function ctMap($ct, $type='Name') {
|
||||
return static::docker("inspect --format='{{.$type}}' $ct");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user