def METHOD_NAME(self) -> Dict:
    """构造展示用的容器详情信息"""
    for cs in getitems(self.pod, 'status.containerStatuses', []):
        if self.container_name == cs['name']:
            container_status = cs
            break
    else:
        raise ResourceNotExist(_('容器 {} 状态信息不存在').format(self.container_name))
    labels = getitems(self.pod, 'metadata.labels', {})
    spec, status = self.pod['spec'], self.pod['status']
    for csp in spec.get('containers', []):
        if self.container_name == csp['name']:
            container_spec = csp
            break
    else:
        raise ResourceNotExist(_('容器 {} 模板（Spec）信息不存在').format(self.container_name))
    return {
        'host_name': get_with_placeholder(spec, 'nodeName'),
        'host_ip': get_with_placeholder(status, 'hostIP'),
        'container_ip': get_with_placeholder(status, 'podIP'),
        'container_id': self._extract_container_id(get_with_placeholder(container_status, 'containerID')),
        'container_name': self.container_name,
        'image': get_with_placeholder(container_status, 'image'),
        'network_mode': get_with_placeholder(spec, 'dnsPolicy'),
        # 端口映射
        'ports': container_spec.get('ports', []),
        # 命令
        'command': {
            'command': get_with_placeholder(container_spec, 'command', ''),
            'args': ' '.join(container_spec.get('args', [])),
        },
        # 挂载卷
        'volumes': [
            {
                'host_path': get_with_placeholder(mount, 'name'),
                'mount_path': get_with_placeholder(mount, 'mountPath'),
                'readonly': get_with_placeholder(mount, 'readOnly'),
            }
            for mount in container_spec.get('volumeMounts', [])
        ],
        # 标签
        'labels': [{'key': key, 'val': val} for key, val in labels.items()],
        # 资源限制
        'resources': container_spec.get('resources', {}),
    }