add dockersecure
This commit is contained in:
@@ -12,6 +12,10 @@ dockerlog() {
|
|||||||
docker logs -f $1
|
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
|
# Simple calculator
|
||||||
function calc() {
|
function calc() {
|
||||||
local result="";
|
local result="";
|
||||||
|
|||||||
Reference in New Issue
Block a user