1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-05-16 05:06:04 +02:00

Add minimal doc for GHCR

This commit is contained in:
Dirk Wetter 2025-04-06 18:37:04 +02:00
parent e101be3ff2
commit ab15338dfc
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