add dockersecure
This commit is contained in:
@@ -12,6 +12,10 @@ dockerlog() {
|
||||
docker logs -f $1
|
||||
}
|
||||
|
||||
dockersec() {
|
||||
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 docker/docker-bench-security
|
||||
}
|
||||
|
||||
# Simple calculator
|
||||
function calc() {
|
||||
local result="";
|
||||
@@ -76,4 +80,4 @@ function extract {
|
||||
echo "$1 - file does not exist"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user