testssl.sh/Dockerfile.md

29 lines
746 B
Docker
Raw Normal View History

## Usage:
2018-02-08 21:06:19 +01:00
(in git directory):
```
2018-02-08 21:06:19 +01:00
docker build -t mytestssl .
docker run -t mytestssl example.com
```
2018-02-08 21:06:19 +01:00
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.
You can also pull the image from docker hub, then run:
```
2018-02-08 21:06:19 +01:00
docker run -t drwetter/testssl.sh --pfs example.com
```
2017-11-19 16:48:05 +01:00
2018-02-08 21:06:19 +01:00
Also if you don't provide a user, this docker container uses
a non-root user.
This is an experimental version with Alpine Linux. Don\'t rely on it!
2017-11-19 16:48:05 +01:00
Besides the "latest" branch supported tags are currently "2.9dev" (equal to "latest"), and
"2.9.5" = "stable": ``docker run -t drwetter/testssl.sh:stable example.com``.