Files
linuxkit/pkg/metadata/build.yml
David Scott 6bc99c5ff2 pkg/metadata: grant access to all block devices
Signed-off-by: David Scott <dave@recoil.org>
2021-10-18 21:02:36 +01:00

21 lines
358 B
YAML

image: metadata
config:
binds:
- /dev:/dev
- /var:/var
- /run:/run
- /sys:/sys
- /etc/resolv.conf:/etc/resolv.conf
- /etc/ssl/certs:/etc/ssl/certs
devices:
# all block devices
- path: all
type: b
tmpfs:
- /tmp
readonly: true
capabilities:
- CAP_SYS_ADMIN
- CAP_NET_ADMIN
- CAP_NET_BIND_SERVICE