forked from containerd/nerdbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
34 lines (28 loc) · 1.01 KB
/
config.toml
File metadata and controls
34 lines (28 loc) · 1.01 KB
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
# An example config.toml for running containerd on macOS hosts.
# Assumes UID 501 and GID 20.
# Usage:
#
# sudo mkdir -p /var/lib/containerd /var/run/containerd
# sudo chown 501:20 /var/lib/containerd /var/run/containerd
# PATH=/opt/homebrew/opt/e2fsprogs/sbin:$PATH containerd -c config.toml
version = 3
[grpc]
# The path of /var/run/containerd is still not changeable
# https://github.com/containerd/containerd/issues/12444
address = '/var/run/containerd/containerd.sock'
uid = 501
gid = 20
[plugins.'io.containerd.snapshotter.v1.erofs']
default_size = "64M"
[plugins.'io.containerd.differ.v1.erofs']
mkfs_options = ['-b4096']
[plugins.'io.containerd.transfer.v1.local']
[[plugins."io.containerd.transfer.v1.local".unpack_config]]
platform = "linux/arm64"
snapshotter = "erofs"
differ = "erofs"
# needed for nerdctl
# https://github.com/containerd/nerdctl/issues/4570#issuecomment-3474216920
[plugins.'io.containerd.service.v1.diff-service']
default = ['erofs', 'walking']
sync_fs = false