Cri File System Tools Link -

cri-dockerd translates CRI requests into Docker Engine API calls. Filesystem impact:

cp -al $SNAPSHOT_PATH /tmp/clone-rootfs

Hard links are not just for files—they can be used at the directory level (via cp -al) to create instant clones of container root filesystems without copying data. This is a powerful technique when you need multiple copies of a snapshot for testing. cri file system tools link

Example: Clone a running container’s rootfs cri-dockerd translates CRI requests into Docker Engine API

# Find snapshot path
SNAPSHOT_PATH=$(crictl inspect <container> | jq -r '.info.rootDir')

The syntax generally looks like this:

# Create a directory to mount to
mkdir /tmp/myimage
# Mount the image (example using a stargz-compressed image)
crfs mount docker://registry.example.com/myimage:latest /tmp/myimage

Note: CRFS works best with images compressed in the "stargz" format, which is an extension of the standard tar.gz format optimized for random access. Note: CRFS works best with images compressed in


Whether you use containerd or CRI-O, a set of command-line utilities helps you inspect and manipulate the underlying storage. These are your primary CRI file system tools.