Skip to content

Commit

Permalink
fix(stargz): set default root path
Browse files Browse the repository at this point in the history
This PR adds the default root path parameter to stargz-snapshotter
extension as an argument: `--root.` It sets the path to
`/var/lib/containerd/io.containerd.snapshotter.v1.stargz` as it is a more
common place to find it. The snapshotter default path is defined in
stargz-snapshotter/cmd/containerd-stargz-grpc/main.go#L66 and points to
/var/lib/containerd-stargz-grpc.

Signed-off-by: David Peralta <[email protected]>
Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
daper authored and smira committed Aug 16, 2024
1 parent a5a6365 commit bb94c9d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ container:
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
Expand Down

0 comments on commit bb94c9d

Please sign in to comment.