Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jinteng123 opened this issue Dec 14, 2023 · 4 comments

Comments

@jinteng123
Copy link

jinteng123 commented Dec 14, 2023

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
Copy link
Author

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

@ChengyuZhu6
Copy link
Contributor

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

@jinteng123
Copy link
Author

image
After modifying the configuration, this error occurred

@imeoer
Copy link
Collaborator

imeoer commented Apr 7, 2024

cc @jiangliu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants