Navigation Menu

Skip to content

Commit

Permalink
Resort and polish
Browse files Browse the repository at this point in the history
  • Loading branch information
drwetter committed Sep 13, 2019
1 parent e4e3df5 commit 5767e14
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions Dockerfile.md
Expand Up @@ -10,21 +10,22 @@ You can also supply command line options like:

``docker run -t mytestssl -p --header example.com``

Please keep in mind that any output file (--log, --html, --json etc.) will be created
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.:
or pull the image from dockerhub and run:

```bash
docker run -t -v ${PWD}:/data drwetter/testssl.sh --html --outprefix /data/ example.com
```
docker run -t drwetter/testssl.sh --pfs example.com
```

Tags supported are: ``latest``, ``stable`` which _for now_ are all the same and point to ``3.0``.

``docker run -t drwetter/testssl.sh:stable example.com``.

Also if you don't provide a user, this docker container uses a non-root user.
And for the indomitable users who prefer to run old stuff you can use the tag ``2.9.5``. Please note ``2.9dev`` should not be used anymore.

Keep in mind that any output file (--log, --html, --json etc.) will be created in the container. If you wish to have this created in a local directory you can mount a volume into the container and change the output prefix where the container user has write access to, e.g.:

You can also pull the image from dockerhub and run:
```
docker run -t drwetter/testssl.sh --pfs example.com
docker run -t -v /tmp:/data drwetter/testssl.sh --htmlfile /data/ example.com
```

Tags supported are currently: ``latest``, ``stable`` which are all the same and point to ``3.0``. And for the indomitable users who prefer to run old stuff ``2.9.5``. The tag ``2.9dev`` should not be used.

``docker run -t drwetter/testssl.sh:stable example.com``.
Also if you don't provide a user, testssl.sh's docker container uses a non-root user (usually with user/groupid 1000:1000).

0 comments on commit 5767e14

Please sign in to comment.