Files
linuxkit/pkg/dm-crypt/build.yml
David Scott 71fa9f2cae pkg/dm-crypt: grant access to all devices
The package needs block devices e.g. for /dev/sda

It also needs character devices for /dev/mapper/

Signed-off-by: David Scott <dave@recoil.org>
2021-10-18 21:01:01 +01:00

13 lines
230 B
YAML

image: dm-crypt
config:
binds:
- /dev:/dev
- /etc/dm-crypt:/etc/dm-crypt
devices:
# all devices (/dev/mapper is a character device)
- path: all
type: a
capabilities:
- CAP_SYS_ADMIN
- CAP_MKNOD