[hukanfa@k8s-node02 systemd]$ nerdctl images
FATA[0000] rootless containerd not running? (hint: use containerd-rootless-setuptool.sh install
to start rootless containerd): stat /run/user/1000/containerd-rootless: no such file or directory
删除
cd /usr/local/bin
[hukanfa@k8s-node02 bin]$ ll
total 37136
-rwxr-xr-x 1 root root 21622 Jan 31 10:23 containerd-rootless-setuptool.sh
-rwxr-xr-x 1 root root 7032 Jan 31 10:23 containerd-rootless.sh
-rwxr-xr-x 1 root root 25739264 Jan 31 10:23 nerdctl
[root@k8s-node02 bin]# rm -f containerd-rootless*.sh
[root@k8s-node02 bin]# ./nerdctl image
Manage images
Usage: nerdctl image [flags]