mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 07:12:34 +00:00
For some reason, bind mounting does not always seem to work, sometimes the filesystem is empty. Mounting a fresh copy seems a better solution, and simplifies things. The container does need `CAP_SYS_ADMIN` but only on boot. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
11 lines
129 B
YAML
11 lines
129 B
YAML
image: binfmt
|
|
network: true
|
|
arches:
|
|
- amd64
|
|
config:
|
|
capabilities:
|
|
- CAP_SYS_ADMIN
|
|
readonly: true
|
|
net: new
|
|
ipc: new
|