Closed
Description
$ docker run -it --net host --pid host --cap-add audit_control \
-v /var/lib:/var/lib \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /usr/lib/systemd:/usr/lib/systemd \
-v /etc:/etc --label docker_bench_security \
germanramos/docker-bench-security
docker: Error response from daemon: Mounts denied:
The path /usr/lib/systemd
is not shared from OS X and does not belong to the system.
You can configure shared paths from Docker -> Preferences...
There is no /usr/lib/systemd
on Mac. Is this volume mapping required? The test seem to run fine without it? Maybe the docs need to be updated to reflect this?
Metadata
Metadata
Assignees
Labels
No labels