-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #530 from jiangliu/coco
Support host sharing and guest pulling for Confidential Container image management
- Loading branch information
Showing
17 changed files
with
1,018 additions
and
330 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version = 1 | ||
|
||
# Snapshotter's own home directory where it stores and creates necessary resources | ||
root = "/var/lib/containerd-nydus" | ||
|
||
# The snapshotter's GRPC server socket, containerd will connect to plugin on this socket | ||
address = "/run/containerd-nydus/containerd-nydus-grpc.sock" | ||
|
||
[daemon] | ||
# Enable proxy mode | ||
fs_driver = "proxy" | ||
|
||
[snapshot] | ||
# Insert Kata volume information to `Mount.Options` | ||
enable_kata_volume = true |
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,40 @@ | ||
|
||
version = 1 | ||
# Snapshotter's own home directory where it stores and creates necessary resources | ||
root = "/var/lib/containerd-nydus" | ||
# The snapshotter's GRPC server socket, containerd will connect to plugin on this socket | ||
address = "/run/containerd-nydus/containerd-nydus-grpc.sock" | ||
# No nydusd daemon needed | ||
daemon_mode = "none" | ||
|
||
[daemon] | ||
# Use `blockdev` for tarfs | ||
fs_driver = "blockdev" | ||
# Path to nydus-image binary | ||
nydusimage_path = "/usr/local/bin/nydus-image" | ||
|
||
[remote] | ||
skip_ssl_verify = true | ||
|
||
[snapshot] | ||
# Insert Kata volume information to `Mount.Options` | ||
enable_kata_volume = true | ||
|
||
[experimental.tarfs] | ||
# Whether to enable nydus tarfs mode. Tarfs is supported by: | ||
# - The EROFS filesystem driver since Linux 6.4 | ||
# - Nydus Image Service release v2.3 | ||
enable_tarfs = true | ||
|
||
# Mount rafs on host by loopdev and EROFS | ||
mount_tarfs_on_host = false | ||
|
||
# Mode to export tarfs images: | ||
# - "none" or "": do not export tarfs | ||
# - "layer_verity_only": only generate disk verity information for a layer blob | ||
# - "image_verity_only": only generate disk verity information for all blobs of an image | ||
# - "layer_block": generate a raw block disk image with tarfs for a layer | ||
# - "image_block": generate a raw block disk image with tarfs for an image | ||
# - "layer_block_with_verity": generate a raw block disk image with tarfs for a layer with dm-verity info | ||
# - "image_block_with_verity": generate a raw block disk image with tarfs for an image with dm-verity info | ||
export_mode = "image_block_with_verity" |
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
Oops, something went wrong.