docker 查看虚拟机xml

[root@compute28 instances]# cat compute_nodes 
{"compute28": 1599202145.125docker ps -a | grep nova
c88c625ca0bf        registryserver:4000/ -binary-nova-compute:V5-5.0.2                "kolla_start"            8 days ago          Up 8 days                                   nova_compute
88902c9468f2        registryserver:4000/ binary-nova-libvirt:V5-5.0.2                "kolla_start"            8 days ago          Up 8 days                                   nova_libvirt
422fbdb74da5        registryserver:4000/ -binary-nova-ssh:V5-5.0.2                    "kolla_start"            8 days ago          Up 8 days                                   nova_ssh
[root@compute28 instances]# docker volume inspect  nova_libvirt
[]
Error: No such volume: nova_libvirt
[root@compute28 instances]# 
root@T920compute24:/etc/kolla/nova-compute# docker volume inspect  nova_compute
[
    {
        "CreatedAt": "2020-09-04T14:55:38+08:00",
        "Driver": "local",
        "Labels": null,
        "Mountpoint": "/var/lib/docker/volumes/nova_compute/_data",
        "Name": "nova_compute",
        "Options": null,
        "Scope": "local"
    }
]

[Note] System unauthorized, Please contact the system supplier.

[Unauthorized System] root@T920compute24:/etc/kolla/nova-compute# cd /var/lib/docker/volumes/nova_compute/_data

[Note] System unauthorized, Please contact the system supplier.

[Unauthorized System] root@T920compute24:/var/lib/docker/volumes/nova_compute/_data# ls
buckets  CA  images  instances  keys  networks  nova.sqlite  tmp

[Note] System unauthorized, Please contact the system supplier.

[Unauthorized System] root@T920compute24:/var/lib/docker/volumes/nova_compute/_data# cd instances/

[Note] System unauthorized, Please contact the system supplier.

[Unauthorized System] root@T920compute24:/var/lib/docker/volumes/nova_compute/_data/instances# ls
02f310aa-eeb6-428e-8345-3f843985bdf2  50e6710b-e59f-409f-84f7-ae8bfacbe0cf  b427d2b2-9629-4344-9412-46897ec9b516
07d8d2c0-ef92-4b62-8a3b-62a5df66dd8a  53459288-cfae-421d-a466-fa21bdf70f87  b80a84a3-e162-49b9-a22a-83d6d256cf14
0b24d44c-c829-476c-a41a-0eb4e03b6049  6eb2e020-ccac-4c69-8ebb-6debb31e5ea4  _base
1e5b91af-e36d-432d-aa9a-008a703b0b5f  7098efbe-cf82-46cd-a4e1-69935bfa23cc  c68d7707-b54d-44ef-8866-e8c13bab015a
1f1ff909-7f42-481c-88fd-840ffe96b74d  7e2745d1-d829-4b1b-8930-8f8fc4a40194  compute_nodes
20abf942-ae02-4098-b102-d79cb06d023c  93d24922-0b87-4967-8f3f-529a143443ef  de743f45-6eca-4ac3-b9b0-581f1f2a08fe
245aed8b-a88a-4ccb-b375-048babf72418  9de74814-d9cc-4ab9-b107-2cce41b0e4a6  e31d87e0-a788-45e0-8105-3f5d385985d5
27f43627-c3ae-41d0-8ce1-583872622b9d  a1e57255-9417-4c67-a264-73377450a42e  e92931a5-f1bd-4b04-86ac-fa75c399ba94
281296d6-1ca7-4bfc-87c6-a2486bf5224f  a43fc464-7de3-4e30-b223-f5c29a43f211  eb574d48-9761-441b-b382-6a3f5ec50368
30d90530-6a13-496d-a8cb-a25464e1cb59  ac89b7ae-5d72-4bcc-b434-6872c183f094  locks

[Note] System unauthorized, Please contact the system supplier.

[Unauthorized System] root@T920compute24:/var/lib/docker/volumes/nova_compute/_data/instances# cd 50e6710b-e59f-409f-84f7-ae8bfacbe0cf 

[Note] System unauthorized, Please contact the system supplier.

[Unauthorized System] root@T920compute24:/var/lib/docker/volumes/nova_compute/_data/instances/50e6710b-e59f-409f-84f7-ae8bfacbe0cf# ls
console.log  libvirt.xml

[Note] System unauthorized, Please contact the system supplier.

[Unauthorized System] root@T920compute24:/var/lib/docker/volumes/nova_compute/_data/instances/50e6710b-e59f-409f-84f7-ae8bfacbe0cf# cat libvirt.xml 
<domain type="kvm">
  <uuid>50e6710b-e59f-409f-84f7-ae8bfacbe0cf</uuid>
  <name>instance-00003e0f</name>
  <memory>8388608</memory>
  <vcpu>4</vcpu>
原文地址:https://www.cnblogs.com/dream397/p/13613975.html