docker-bench-security/docker-compose.yml
lusitania 10f0689b02 use compose to improve readability
Signed-off-by: Peter <lusitania@users.noreply.github.com>
2015-10-06 07:30:21 +02:00

21 lines
555 B
YAML

docker-bench-security:
# use image if you have a dedicated build step:
# docker build --rm -t docker-bench-security .
# image: docker-bench-security
# use build path to Dockerfile if docker-compose should build the image
build: .
cap_add:
- audit_control
labels:
- docker_bench_security
net: host
pid: host
stdin_open: true
tty: true
volumes:
- /var/lib:/var/lib
- /var/run/docker.sock:/var/run/docker.sock
- /usr/lib/systemd:/usr/lib/systemd
- /etc:/etc