安装nerdctl
wget https://github.com/containerd/nerdctl/releases/download/v2.0.0-rc.3/nerdctl-full-2.0.0-rc.3-linux-amd64.tar.gz
tar Cxzvvf /usr/local nerdctl-full-2.0.0-rc.3-linux-amd64.tar.gz
containerd镜像
containerd镜像保存在/var/lib/containerd/io.containerd.content.v1.content/blobs/sha256。
这里的id会和拉取镜像时显示的分层id保持一致,每个分层都会通过tar解压到/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots中。
查看容器使用层
mount | grep /var/lib/containerd | grep [容器id]
lowerdir(只读层)+upperdir(读写层)+workdir(容器启动后默认工作目录),联合挂载到/run/containerd/io.containerd.runtime.v2.task/k8s.io/[容器id]/rootfs。
标签:存储,fs,rc.3,tar,containerd,nerdctl,io,id From: https://www.cnblogs.com/WJQ2017/p/18508186