Files
linuxkit/pkg/binfmt/build.yml
Justin Cormack a6dbe8ceba Rather than bind mounting binfmt_misc filesystem, mount a copy.
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>
2018-06-22 14:10:43 +01:00

11 lines
129 B
YAML

image: binfmt
network: true
arches:
- amd64
config:
capabilities:
- CAP_SYS_ADMIN
readonly: true
net: new
ipc: new