mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
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>
This commit is contained in:
parent
5895976b33
commit
71fa9f2cae
@ -3,6 +3,10 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user