From 06682990bac243b7272f6f95a9b42fec6c3413bd Mon Sep 17 00:00:00 2001 From: Dirk Wetter <dirk@testssl.sh> Date: Sun, 6 Apr 2025 20:29:18 +0200 Subject: [PATCH] GHCR clearer --- Dockerfile.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile.md b/Dockerfile.md index 64d8eea..6ffbecd 100644 --- a/Dockerfile.md +++ b/Dockerfile.md @@ -28,17 +28,15 @@ docker run -t mytestssl --help docker run --rm -t mytestssl -p --header example.com ``` -### From dockerhub or ghcr +### From dockerhub or GHCR You can pull the image from dockerhub or ghcr.io and run: -``` -docker run --rm -t drwetter/testssl.sh --fs example.com / docker run --rm -t ghcr.io/testssl/testssl.sh --fs example.com -``` +``docker run --rm -t drwetter/testssl.sh --fs example.com`` or ``docker run --rm -t ghcr.io/testssl/testssl.sh --fs example.com`` -Supported tags are: ``3.2`` and ``latest``, which are the same. ``3.0`` is the old stable version from git which will be soon retired. +Supported tags are: ``3.2`` and ``latest``, which are the same. ``3.0`` is the old stable version which will be retired soon. -``docker run --rm -t drwetter/testssl.sh:stable example.com``. +``docker run --rm -t drwetter/testssl.sh:stable example.com`` or ``docker run --rm -t ghcr.io/testssl/testssl.sh:stable example.com`` Keep in mind that any output file (--log, --html, --json etc.) will be created within the container. If you wish to have this created in a local directory on your host you can mount a volume into the container and change the output prefix where the container user has write access to, e.g.: