Files
linuxkit/test/cases/030_security/000_docker-bench/test-docker-bench.yml
Justin Cormack 5764fba5d6 Only use console=ttyS0 for tests
If you also use console=tty0 you lose the output of commands running from
the system, as they run on the second console which is discarded.

Also drop page-poison as not relevant for tests.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-12 10:22:23 +02:00

50 lines
1.5 KiB
YAML

kernel:
image: "linuxkit/kernel:4.9.x"
cmdline: "console=ttyS0"
init:
- linuxkit/init:2599bcd5013ce5962aa155ee8929c26160de13bd
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:b50181bc6e0084e5fcd6b6ad3cf433c4f66cae5a
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: sysfs
image: "linuxkit/sysfs:1244c5a86dfa2318c4e304af68d37e12367e1b7f"
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
- name: mount
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
command: ["/mount.sh", "/var/lib/docker"]
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
- name: docker
image: "linuxkit/docker-ce:668d62da6e3da081a8f8aca7db3e2a98adf5da59"
capabilities:
- all
net: host
mounts:
- type: cgroup
options: ["rw","nosuid","noexec","nodev","relatime"]
binds:
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /run:/var/run
- name: test-docker-bench
image: "linuxkit/test-docker-bench:5264fdfd098d2bfbacd88159e92bc59a9d2be6cc"
ipc: host
pid: host
net: host
binds:
- /run:/var/run
capabilities:
- all
trust:
org:
- linuxkit