-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: chenkang <[email protected]>
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Deploy Stargz Snapshotter | ||
|
||
We assume that you are using containerd (> v1.4.2) as a CRI runtime. | ||
|
||
## Systemd | ||
|
||
- Download release tarfile from https://github.com/containerd/stargz-snapshotter/releases/download/v0.5.0/stargz-snapshotter-v0.5.0-linux-amd64.tar.gz | ||
|
||
- Modify /etc/containerd/config.toml according to https://github.com/containerd/stargz-snapshotter/blob/master/script/config/etc/containerd/config.toml | ||
|
||
- Install fuse | ||
|
||
###### centos | ||
``` | ||
yum install fuse | ||
modprobe fuse | ||
``` | ||
|
||
###### ubunut | ||
``` | ||
apt-get install fuse | ||
modprobe fuse | ||
``` | ||
|
||
- Start stargz-snapshotter and restart containerd | ||
``` | ||
tar -xvf stargz-snapshotter-${version}-linux-${arch}.tar.gz -C /usr/local/bin | ||
wget -O /etc/systemd/system/stargz-snapshotter.service https://github.com/containerd/stargz-snapshotter/blob/master/script/config/etc/systemd/system/stargz-snapshotter.service | ||
systemctl enable stargz-snapshotter | ||
systemctl start stargz-snapshotter | ||
systemctl restart containerd | ||
``` |