mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
- add a `pkg` directory for packages - add a `cases` directory for yml files Signed-off-by: Dave Tucker <dt@docker.com>
11 lines
395 B
Bash
Executable File
11 lines
395 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "waiting for docker socket to be available..."
|
|
|
|
# wait for the docker runc container
|
|
while [ ! -e /var/run/docker.sock ]; do sleep 1; done
|
|
|
|
echo "found docker socket, starting docker bench..."
|
|
|
|
docker run -i --net host --pid host --cap-add audit_control -v /var/lib:/var/lib -v /var/run/docker.sock:/var/run/docker.sock --label docker_bench_security docker/docker-bench-security
|