Merge pull request #1307 from petegallagher/patch-1

Output files to host when using Docker
This commit is contained in:
Dirk Wetter 2019-09-13 10:42:02 +02:00 committed by GitHub
commit e4e3df50eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -11,7 +11,13 @@ You can also supply command line options like:
``docker run -t mytestssl -p --header example.com`` ``docker run -t mytestssl -p --header example.com``
Please keep in mind that any output file (--log, --html, --json etc.) will be created Please keep in mind that any output file (--log, --html, --json etc.) will be created
in the container. Also if you don't provide a user, this docker container uses a non-root user. in the container. If you wish to have this created in your local directory you can mount a volume and change the output prefix e.g.:
```bash
docker run -t -v ${PWD}:/data drwetter/testssl.sh --html --outprefix /data/ example.com
```
Also if you don't provide a user, this docker container uses a non-root user.
You can also pull the image from dockerhub and run: You can also pull the image from dockerhub and run: