containerd / accelerated-container-image

A production-ready remote container image format (overlaybd) and snapshotter based on block-device.
Apache License 2.0
411 stars 76 forks source link

install overlaybd snapshotter failed #92

Closed zlseu-edu closed 2 years ago

zlseu-edu commented 2 years ago

Reproduce:

  1. just run INSTALL.sh, a shell error occur.
bash INSTALL.sh
Compile overlaybd-snapshotter...
bin/overlaybd-snapshotter
bin/ctr
copy config.json to /etc/overlaybd-snapshotter/
create service...
Would you like make containerd support overlaybd-snapshotter [Y/N]? (this will change /etc/containerd/config.toml and restart containerd) Y
INSTALL.sh: line 41: conditional binary operator expected
INSTALL.sh: line 41: syntax error near `/etc/containerd/config.toml'
INSTALL.sh: line 41: `        if [[ !-f /etc/containerd/config.toml ]]; then'
liulanzheng commented 2 years ago

93 solved