-
Notifications
You must be signed in to change notification settings - Fork 123
/
stargz-snapshotter.yaml
59 lines (59 loc) · 1.21 KB
/
stargz-snapshotter.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: stargz-snapshotter
depends:
- service: cri
container:
environment:
- PATH=/usr/local/bin
entrypoint: ./containerd-stargz-grpc
args:
- --address=/var/run/containerd-stargz-grpc/containerd-stargz-grpc.sock
- --root=/var/lib/containerd/io.containerd.snapshotter.v1.stargz
- --log-level=debug
security:
rootfsPropagation: shared
mounts:
- source: /etc/ssl
destination: /etc/ssl
type: bind
options:
- bind
- ro
- source: /var
destination: /var
type: bind
options:
- rshared
- rbind
- rw
- source: /usr/local/etc/containerd-stargz-grpc
destination: /etc/containerd-stargz-grpc
type: bind
options:
- bind
- ro
- source: /lib
destination: /lib
type: bind
options:
- bind
- ro
- source: /usr/lib
destination: /usr/lib
type: bind
options:
- bind
- ro
- source: /usr/local/bin
destination: /usr/local/bin
type: bind
options:
- bind
- ro
- source: /dev
destination: /dev
type: bind
options:
- rshared
- rbind
- rw
restart: always