kata application mount

 

 

root@ubuntu:/home/ubuntu# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0  85.8M  1 loop /snap/core/9994
loop1    7:1    0    50M  0 loop /tmp/my-rootfs
sda      8:0    0   3.7T  0 disk 
sdb      8:16   0   3.7T  0 disk 
sdc      8:32   0 222.6G  0 disk 
├─sdc1   8:33   0   243M  0 part /boot/efi
├─sdc2   8:34   0   488M  0 part /boot
└─sdc3   8:35   0 221.9G  0 part /
root@ubuntu:/home/ubuntu# 

 

 

root@ubuntu:/home/ubuntu# mount | grep kata
tmpfs on /run/kata-containers/shared/sandboxes/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/shared type tmpfs (ro,relatime,size=26334908k,mode=755)
overlay on /run/kata-containers/shared/sandboxes/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/mounts/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/rootfs type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/NG4DKVMB5QH6XHGH23GOVNGUBB:/var/lib/docker/overlay2/l/QYAY6NY35IL5RIM4PE5ZLY7C44:/var/lib/docker/overlay2/l/MN4IC4KQI4FAGG4ZIPEYHSPJGW:/var/lib/docker/overlay2/l/PWRZKLZFFPTNF76EUWJQWMXDXN:/var/lib/docker/overlay2/l/OHD7XJ4JW7PEYZRGBIBJZYTLYY:/var/lib/docker/overlay2/l/XKGKOR5GBTIGTO6EHG22MIZ7NE,upperdir=/var/lib/docker/overlay2/8534450bbe83e64ff72f91ead54c343eddd227751e07ddc06e260df4db0a37d5/diff,workdir=/var/lib/docker/overlay2/8534450bbe83e64ff72f91ead54c343eddd227751e07ddc06e260df4db0a37d5/work,xino=off)
overlay on /run/kata-containers/shared/sandboxes/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/shared/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/rootfs type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/NG4DKVMB5QH6XHGH23GOVNGUBB:/var/lib/docker/overlay2/l/QYAY6NY35IL5RIM4PE5ZLY7C44:/var/lib/docker/overlay2/l/MN4IC4KQI4FAGG4ZIPEYHSPJGW:/var/lib/docker/overlay2/l/PWRZKLZFFPTNF76EUWJQWMXDXN:/var/lib/docker/overlay2/l/OHD7XJ4JW7PEYZRGBIBJZYTLYY:/var/lib/docker/overlay2/l/XKGKOR5GBTIGTO6EHG22MIZ7NE,upperdir=/var/lib/docker/overlay2/8534450bbe83e64ff72f91ead54c343eddd227751e07ddc06e260df4db0a37d5/diff,workdir=/var/lib/docker/overlay2/8534450bbe83e64ff72f91ead54c343eddd227751e07ddc06e260df4db0a37d5/work,xino=off)
/dev/sdc3 on /run/kata-containers/shared/sandboxes/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/mounts/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465-2aeac2b6560a6933-resolv.conf type ext4 (rw,relatime,errors=remount-ro,stripe=64)
/dev/sdc3 on /run/kata-containers/shared/sandboxes/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/shared/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465-2aeac2b6560a6933-resolv.conf type ext4 (rw,relatime,errors=remount-ro,stripe=64)
/dev/sdc3 on /run/kata-containers/shared/sandboxes/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/mounts/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465-386b9f16e9827abb-hostname type ext4 (rw,relatime,errors=remount-ro,stripe=64)
/dev/sdc3 on /run/kata-containers/shared/sandboxes/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/shared/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465-386b9f16e9827abb-hostname type ext4 (rw,relatime,errors=remount-ro,stripe=64)
/dev/sdc3 on /run/kata-containers/shared/sandboxes/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/mounts/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465-f3aff84971122878-hosts type ext4 (rw,relatime,errors=remount-ro,stripe=64)
/dev/sdc3 on /run/kata-containers/shared/sandboxes/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465/shared/d1544775a783247ec3576a4756c6f3ab01bd157a2af12e5532b2854b8a202465-f3aff84971122878-hosts type ext4 (rw,relatime,errors=remount-ro,stripe=64)

 

kata application  mount

 

 

kata application  mount

 

 

kata application  mount

 

 

root@ubuntu:/home/ubuntu# docker exec elastic_shockley ls /usr/bin/ | grep nginx
root@ubuntu:/home/ubuntu# docker exec elastic_shockley bash
root@ubuntu:/home/ubuntu# docker exec -it elastic_shockley bash
root@d1544775a783:/# find ./ -name nginx
./usr/sbin/nginx
./usr/lib/nginx
./usr/share/doc/nginx
./usr/share/nginx
find: './proc/28/map_files': Permission denied
./etc/logrotate.d/nginx
./etc/default/nginx
./etc/init.d/nginx
./etc/nginx
./var/cache/nginx
./var/log/nginx
root@d1544775a783:/# exit
exit
root@ubuntu:/home/ubuntu# docker inspect elastic_shockley  | grep Bind -A 20
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": true,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Capabilities": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",

 

上一篇:csharp进阶练习题:重构出一个switch语句的解释【难度:2级】--景越C#经典编程题库,不同难度C#练习题,适合自学C#的新手进阶训练


下一篇:csharp基础练习题:查找组合【难度:1级】--景越C#经典编程题库,不同难度C#练习题,适合自学C#的新手进阶训练