Skip to content

Commit

Permalink
Merge pull request #82 from gaby:docker-utils
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 597856715
Change-Id: Idd2f9242fc1ad25eb9193eb934d667ef3f110453
  • Loading branch information
copybara-github committed Jan 12, 2024
2 parents c3827bc + adfc8ce commit 3d0c45c
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ To quickly get started with Tsunami scans,
generated artifacts.
### Docker install
1. start a vulnerable application that can be identified by Tsunami, e.g. an
unauthenticated Jupyter Notebook server. The easiest way is to use a docker
image:
Expand All @@ -71,16 +72,25 @@ To quickly get started with Tsunami scans,
1. build the docker image for Tsunami:
```
```shell
docker build -t tsunami .
```
1. run the Tsunami image. The logs can be saved to the host machine by mounting a volume:
1. run the Tsunami image. The logs can be saved to the host machine by mounting
a volume:
```shell
docker run --network="host" -v "$(pwd)/logs":/usr/tsunami/logs tsunami
```
docker run --network="host" -v "$(pwd)/logs":/usr/tsunami/logs tsunami
1. debugging issues with Tsunami container. The tsunami container is based on
Debian. To run debug tools simply exec into the container and install them:
```shell
docker exec -it tsunami bash
```
## Contributing
## Contributing
Read how to [contribute to Tsunami](docs/contributing.md).
Expand Down

0 comments on commit 3d0c45c

Please sign in to comment.