small changes
This commit is contained in:
10
functions
10
functions
@@ -12,8 +12,14 @@ 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
|
||||
#Docker: run docker security check
|
||||
dockersecure() {
|
||||
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 --rm docker/docker-bench-security
|
||||
}
|
||||
|
||||
# WRK
|
||||
function wrk() {
|
||||
docker run --rm williamyeh/wrk --latency $1
|
||||
}
|
||||
|
||||
# Simple calculator
|
||||
|
||||
Reference in New Issue
Block a user