-
Notifications
You must be signed in to change notification settings - Fork 231
A: You could find them in: https://github.com/dragonflyoss/image-service/tree/master/docs
A: You could using nerdctl to sync nydus images with --unpack false
nerdctl pull --unpack false tomcat:latestnydusv6
nerdctl tag tomcat:latestnydusv6 ghcr.io/username/tomcat:latestnydusv6
nerdctl push --allow-nondistributable-artifacts ghcr.io/username/tomcat:latestnydusv6
A: Try nydus >= v2.1.4, the version fixed the nydusd error when running the images created by nydusify/buildkit/acceld using nydus-image >= 2.2, strongly recommend all users to upgrade.
Q: Can't start nydus pod in K8s. Error: failed to get reader from content store: content digest sha256:*** not found
A: In some environments, the containerd will discard unpacked layers in the content store. So when the pause container is started, it is found that the snapshotter is nydus and needs to be unpacked again, but the data cannot be found in the content store.
- You could try to set
discard_unpapcked_layers = falsein/etc/containerd/config.toml
[plugins."io.containerd.grpc.v1.cri".containerd]
discard_unpacked_layers = false- Or please refer to the following documents to deploy pods in k8s: https://github.com/containerd/nydus-snapshotter/blob/main/docs/run_nydus_in_kubernetes.md
A: Containerd CRI config disable_snapshot_annotations is not set to false. disable_snapshot_annotations disables to pass additional annotations (image related information) to snapshotters. These annotations are required by nydus snapshotter.
- You could configure
disable_snapshot_annotations = falsein/etc/containerd/config.toml
[plugins."io.containerd.grpc.v1.cri".containerd]
snapshotter = "nydus"
disable_snapshot_annotations = falseQ: Can't start nydus image. Error: failed to get stream processor for application/vnd.oci.image.layer.nydus.blob.v1: no processor for media-type: unknown
A: Nydus-snapshotter is not selected by containerd, causing the nydus image to fail to be parsed.
- You could try to configure
[proxy_plugins]in/etc/containerd/config.toml
[proxy_plugins]
[proxy_plugins.nydus]
type = "snapshot"
address = "/run/containerd-nydus/containerd-nydus-grpc.sock"- If you wish to switch containerd's default snapshotter to nydus, you can also configure
[plugins."io.containerd.grpc.v1.cri".containerd]in/etc/containerd/config.toml
[plugins."io.containerd.grpc.v1.cri".containerd]
snapshotter = "nydus"
disable_snapshot_annotations = falseQ: Can't pull nydus image from the registry. Error: temporarily failed to get blob.meta, Input/output error (os error 5)
A: There may be a problem with the network accessing the registry.
- Please check whether the firewall has opened access to the registry. In addition to the registry, the object storage service (AWS S3 / Alibaba OSS) associated with it may also need to allow access.
- Please check that the authentication to the registry is configured correctly. Try
docker login your.registry.comornerdctl login your.registry.com