mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 13:13:02 +00:00
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>
13 lines
230 B
YAML
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
|