1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-05-31 20:37:05 +02:00

Merge pull request from testssl/ghcr.io-doc-3.0

Add minimal doc for GHCR
This commit is contained in:
Dirk Wetter 2025-04-06 18:38:13 +02:00 committed by GitHub
commit 56908d3a94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 3 deletions

@ -32,15 +32,21 @@ docker run -t mytestssl --help
docker run --rm -t mytestssl -p --header example.com
```
### From dockerhub
### From dockerhub or ghcr
You can pull the image from dockerhub and e.g run:
You can pull the image from dockerhub or ghcr and e.g run:
```
docker run --rm -t drwetter/testssl.sh:3.0 --protocols --server-preference example.com
```
Other tags supported are: ``3.1dev`` and ``latest``. They are the same, i.e. the rolling release. ``3.0`` is the latest stable version from git which might have a few improvements (see git log) over the released 3.0.X.
respectively.
```
docker run --rm -it ghcr.io/testssl/testssl.sh:3.0 --protocols --server-preference example.com
```
As of now other tags supported are: ``latest`` or ``3.2``.. They are the same, i.e. the stable version. ``3.0`` is the old stable version.
``docker run --rm -t drwetter/testssl.sh:3.0 example.com``.

@ -66,6 +66,10 @@ Testssl.sh has minimal requirements. As stated you don't have to install or buil
```
docker run --rm -ti drwetter/testssl.sh:3.0 <your_cmd_line>
```
Alternatively you can run it from GHCR (GitHub Container Registry which supports more platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le):
Or if you have cloned this repo you also can just ``cd`` to the INSTALLDIR (change to 3.0, do a git pull) and run
```
docker build . -t drfooimage && docker run --rm -t drfooimage example.com