forked from containerd/stargz-snapshotter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support importing stargz snapshotter as a plugin
This commit introduces `github.com/containerd/stargz-snapshotter/service/plugin` pkg which can be importd as a *builtin* stargz snapshotter plugin. This also adds integration tests for builtin stargz snapshotter. Signed-off-by: Kohei Tokunaga <[email protected]>
- Loading branch information
Showing
15 changed files
with
404 additions
and
120 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
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
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
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
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
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 |
---|---|---|
@@ -1,4 +1,10 @@ | ||
[proxy_plugins] | ||
[proxy_plugins.stargz] | ||
type = "snapshot" | ||
address = "/run/containerd-stargz-grpc/containerd-stargz-grpc.sock" | ||
[plugins.stargz] | ||
root_path = "/var/lib/containerd-stargz-grpc/" | ||
disable_verification = false | ||
|
||
[plugins.stargz.blob] | ||
check_always = true | ||
|
||
[[plugins.stargz.resolver.host."registry-integration:5000".mirrors]] | ||
host = "registry-alt:5000" | ||
insecure = true |
Oops, something went wrong.