nydus
nydus copied to clipboard
docker-env-setup manual not work
Additional Information
Providing the following details is crucial to help us assist you effectively. Missing information may delay your support request or result in it being overlooked.
Issue Details
I attempted to install Nydus utilities using Docker by following the instructions in docs/docker-env-setup.md
. However, I encountered several issues, likely due to the documentation being outdated. Most errors are related to files not being found.
-
Downloading the Nydus Snapshotter Release Tarball
# 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 -O /etc/nydus/nydusd-config.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
- The file name nydus-snapshotter-"$TAG"-x86_64.tgz is incorrect; it should be nydus-snapshotter-"$TAG"-linux-amd64.tar.gz.
- Extracting the tarball using
tar -xvf
results in abin
directory, which doesn't align with the subsequent commands and requires adjustments. - The commands to download configuration files fail with "/etc/nydus/: No such file or directory". The directory isn't created by running
sudo install -D -m 755 nydus-snapshotter/containerd-nydus-grpc /usr/local/bin
. It seems the base configuration isn't set up during installation.
-
Fetching the Latest Version of DragonflyOSS Image Service
# Get the latest version. If this version does not work for you, you can try v2.1.4 TAG=`curl -s https://api.github.com/repos/dragonflyoss/image-service/releases/latest | grep tag_name | cut -f4 -d "\""` wget https://github.com/dragonflyoss/image-service/releases/download/"$TAG"/nydus-static-"$TAG"-linux-amd64.tgz tar -xzvf nydus-static-"$TAG"-linux-amd64.tgz sudo install -D -m 755 nydus-static/* /usr/local/bin
- The command to fetch the latest version tag (
TAG=
) does not retrieve the tag, preventing subsequent commands from executing.
- The command to fetch the latest version tag (
I have only reached this point in the installation process, so I am unsure if additional issues exist. I recommend the author review the documentation, as it hasn't been updated in a while.