From a60625c9ce24282c3c2148a165d65d20a4f1af45 Mon Sep 17 00:00:00 2001 From: Yadong Ding Date: Thu, 6 Jun 2024 09:36:14 +0800 Subject: [PATCH] docs: fix incorrect file path https://github.com/containerd/nydus-snapshotter/blob/main/misc/snapshotter/config.toml#L27 In snapshotter config nydusd config file path is /etc/nydus/nydusd-config.fusedev.json Signed-off-by: Yadong Ding --- docs/docker-env-setup.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docker-env-setup.md b/docs/docker-env-setup.md index b12bec02f58..79abf9fccec 100644 --- a/docs/docker-env-setup.md +++ b/docs/docker-env-setup.md @@ -15,11 +15,11 @@ sudo cp ./* /usr/bin/ ``` # Get the latest version. If this version does not work for you, you can try v0.6.0 TAG=`curl -s https://api.github.com/repos/containerd/nydus-snapshotter/releases/latest | grep tag_name | cut -f4 -d "\""` -wget https://github.com/containerd/nydus-snapshotter/releases/download/"$TAG"/nydus-snapshotter-"$TAG"-x86_64.tgz -tar -xzvf nydus-snapshotter-"$TAG"-x86_64.tgz -sudo install -D -m 755 nydus-snapshotter/containerd-nydus-grpc /usr/local/bin +wget https://github.com/containerd/nydus-snapshotter/releases/download/"$TAG"/nydus-snapshotter-"$TAG"-linux-amd64.tar.gz +tar -xzvf nydus-snapshotter-"$TAG"-linux-amd64.tar.gz +sudo install -D -m 755 bin/containerd-nydus-grpc /usr/local/bin -wget -O /etc/nydus/nydusd-config.json https://raw.githubusercontent.com/containerd/nydus-snapshotter/"$TAG"/misc/snapshotter/nydusd-config.fusedev.json +wget -O /etc/nydus/nydusd-config.fusedev.json https://raw.githubusercontent.com/containerd/nydus-snapshotter/"$TAG"/misc/snapshotter/nydusd-config.fusedev.json wget -O /etc/nydus/config.toml https://raw.githubusercontent.com/containerd/nydus-snapshotter/"$TAG"/misc/snapshotter/config.toml ```