diff --git a/README.md b/README.md index cb4609e1e4..e3d5c3faa9 100644 --- a/README.md +++ b/README.md @@ -100,11 +100,12 @@ nerdctl --snapshotter nydus run ghcr.io/dragonflyoss/image-service/nginx:nydus-l ### Start Container in Kubernetes -**NOTE:** A potential drawback using CRI is that we can hardly specify snapshotter to `nydus-snapshotter`. So we have to change containerd's default snapshotter in its configuration file like below: +**NOTE:** A potential drawback using CRI is that we can hardly specify snapshotter to `nydus-snapshotter`. So we have to change containerd's default snapshotter in its configuration file and enable snapshot annotations like below: ```toml [plugins."io.containerd.grpc.v1.cri".containerd] snapshotter = "nydus" + disable_snapshot_annotations = false ``` Use `crictl` to debug starting container via Kubernetes CRI. Dry run [steps](./docs/crictl_dry_run.md) of using `crictl` can be found in [documents](./docs).