Solving Containerd Insufficient Space Issues on OpenWRT

Continuing from the last time: [[Solving Docker Insufficient Space Issues on OpenWRT]]

After resolving the insufficient space issue when pulling Docker images, I encountered a new problem.

When I was creating my third container, Containerd indicated that there was insufficient space.

Containerd is essentially the container management tool. We have addressed the storage issue for the image files, but we have not resolved the storage issue for the container files.

We can use symbolic links to solve this problem.

Before proceeding with the following operations, please confirm the path of your Containerd folder and modify the commands accordingly.

First, copy the original container files to a partition with free space.

cp /run/containerd /mnt/sda4/docker/

Use symbolic links for mapping.

ln -s /mnt/sda4/docker/containerd/s/ /run/containerd/

Leave a Comment