Created
July 7, 2020 16:02
-
-
Save vmleon/5d9371c5c260e569c8ae06e4f53a1c72 to your computer and use it in GitHub Desktop.
Kubernetes Security
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run -it --net host --pid host --cap-add audit_control \ | |
-e DOCKER_CONTENT_TRUST=$DOCKER_CONTENT_TRUST \ | |
-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 \ | |
docker/docker-bench-security:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment