Skip to content

Commit

Permalink
docs: update Docker instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ocervell authored Apr 12, 2024
1 parent 3eee944 commit 21afd3f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,15 @@ wget -O - https://raw.githubusercontent.com/freelabz/secator/main/scripts/instal
<summary>Docker</summary>

```sh
docker run -it --rm --net=host freelabz/secator --help
docker run -it --rm --net=host freelabz/secator -v "$HOME/.secator:/root/.secator" --help
```

The volume mount `-v` is necessary to save all `secator` reports to your host machine.

You can set up an alias to facilitate running `secator` from Docker:
```sh
alias secator="docker run -it --rm --net=host freelabz/secator -v $HOME/.secator:/root/.secator"
secator --help
```

</details>
Expand Down

0 comments on commit 21afd3f

Please sign in to comment.