nydus-snapshotter icon indicating copy to clipboard operation
nydus-snapshotter copied to clipboard

When booting an image using tarfs mode, an error occurs stating that files within the image cannot be found

Open jinteng123 opened this issue 1 year ago • 4 comments

version: containerd v1.7.8 nydus-static-v2.3.0-alpha.1-linux-amd64 nydus-snapshotter-v0.13.4

nydus/config.toml:

version = 1 root = "/var/lib/containerd-nydus" address = "/run/containerd-nydus/containerd-nydus-grpc.sock" daemon_mode = "none"

[daemon] fs_driver = "blockdev" nydusimage_path = "/usr/local/bin/nydus-image"

[remote] skip_ssl_verify = true

[snapshot] enable_kata_volume = true

[experimental.tarfs] enable_tarfs = true mount_tarfs_on_host = false export_mode = "image_block"

kernel 6.6.6-1.el7

nerdctl run --snapshotter nydus --rm nginx

image

jinteng123 avatar Dec 14 '23 09:12 jinteng123

containerd-nydus-grpc.log this is containerd-nydus-grpc log

jinteng123 avatar Dec 14 '23 09:12 jinteng123

Hi, if you want to run a container with runc when enabling tarfs mode, you could try to set enable_kata_volume to false.

ChengyuZhu6 avatar Dec 14 '23 11:12 ChengyuZhu6

image After modifying the configuration, this error occurred

jinteng123 avatar Dec 15 '23 02:12 jinteng123

cc @jiangliu

imeoer avatar Apr 07 '24 01:04 imeoer