Update DockerClient.php

This commit is contained in:
bergware
2025-02-06 15:45:23 +01:00
parent d1058957bb
commit ee5409dd3d

View File

@@ -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");
}