Hardened docker-gen 0.17.2 rebuilt from source with patched deps on Alpine — 0 HIGH/CRITICAL CVEs.
39
A security-hardened build of nginx-proxy/docker-gen 0.17.2.
The upstream release binary ships a Go standard library with known CVEs and no fixed release exists yet, so this image rebuilds docker-gen
from source on a current Go toolchain (1.26.x) with patched transitive dependencies (go-archive, x/crypto, klauspost/compress,
moby/sys), on top of alpine:3.24.
The result is a minimal image containing only the docker-gen binary — trivy image --severity HIGH,CRITICAL reports zero vulnerabilities.
Tags follow upstream plus a rebuild revision: 0.17.2-hardened.1, 0.17.2-hardened.2, … latest tracks the newest build.
Drop-in replacement for docker-gen wherever the binary is invoked, e.g.:
docker run --rm -v /var/run/docker.sock:/tmp/docker.sock:ro \
mreil/docker-gen-hardened:latest --version
Content type
Image
Digest
sha256:0ab5c678e…
Size
11.2 MB
Last updated
7 days ago
docker pull mreil/docker-gen-hardened