mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-08-04 00:19:14 +00:00
use compose to improve readability
Signed-off-by: Peter <lusitania@users.noreply.github.com>
This commit is contained in:
parent
dafd938d19
commit
10f0689b02
2 changed files with 28 additions and 0 deletions
|
@ -43,6 +43,13 @@ docker run -it --net host --pid host --cap-add audit_control \
|
|||
docker-bench-security
|
||||
```
|
||||
|
||||
or use [Docker Compose](https://docs.docker.com/compose/):
|
||||
```sh
|
||||
git clone https://github.com/docker/docker-bench-security.git
|
||||
cd docker-bench-security
|
||||
docker-compose run --rm docker-bench-security
|
||||
```
|
||||
|
||||
Also, this script can also be simply run from your base host by running:
|
||||
|
||||
```sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue