nydus
nydus copied to clipboard
can not start a rafs v6 container in fuse mode with --shared-daemon option
I run containerd-nydus-grpc with below cmd
containerd-nydus-grpc \ --config-path /etc/nydusd-config.json \ --shared-daemon \ --log-level info \ --root /var/lib/containerd/io.containerd.snapshotter.v1.nydus \ --cache-dir /var/lib/nydus/cache \ --address /run/containerd/containerd-nydus-grpc.sock \ .....
then try to start a rafs v6 container with nerdctl , but get error
FATA[0000] failed to mount /run/user/0/containerd-mount2787954349: no such file or directory
dmesg
overlayfs: failed to resolve '/var/lib/containerd/io.containerd.snapshotter.v1.nydus/mnt/362/fs': -2
And I do the following test
- with same containerd-nydus-grpc cmd , start a rafs v5 container --- pass
- remove --shared-daemon option , start the same rafs v6 container --- pass
- launch containerd-nydus-grpc with fscache mode, start the same rafs v6 container --- pass