pgAdmin 4 for restricted OpenShift and Kubernetes, with no privileged component left in the image.
Rebuilt as soon as a fix lands, signed, and measured against the official image every night, in public.
The same pgAdmin release as the official image, without the capability a
restricted platform refuses, so it runs as an unprivileged user or under
whatever UID OpenShift assigns. The hardened variant goes further: rebuilt
from pgAdmin's source with no setuid binary, no sudo and no mail server,
and rebuilt again whenever Alpine or Python ship a fix. Every night both are
scanned next to the official image; the report shows the
result, including whatever is still left.
Important
This does not make pgAdmin itself any safer, and it cannot fix a vulnerability before Alpine, Python or the pgAdmin project do. "No known, fixable vulnerabilities" means none that the scanners know about and that have a fix that can be applied today; the report shows the rest, and how current the scanners' data is. The hardened variant also leaves out password-reset email, which needs the bundled mail server.
Note
An independent, personal project. It is not affiliated with, endorsed by or sponsored by the pgAdmin project, the PostgreSQL project, Docker, or any company.
- Restricted-ready: no Linux capability and no root step, so it runs under OpenShift's
restrictedprofile. - Patched sooner: the hardened variant is rebuilt when a fix lands, and at least once a week.
- Two choices:
latestfor the hardened rebuild,<version>for the official image with only its capability removed. - Proven, not promised: a public, nightly comparison with the official image.
- Signed: each image is signed as it is published, and comes with the list of what is inside it.
docker run -d --name pgadmin -p 8080:8080 \
-e PGADMIN_DEFAULT_EMAIL=admin@example.com \
-e PGADMIN_DEFAULT_PASSWORD=change-me \
ghcr.io/fyannk/pgadmin:latestIt listens on 8080 rather than 80, since binding a privileged port is
exactly what it gives up. Everything else documented for the
official image
works the same way. The images are also on Docker Hub as fyannk/pgadmin.
Maintained. The newest pgAdmin release is published, for linux/amd64.
- Security report: the nightly comparison, variant by variant.
- What changes compared with the official image, and how to run it.
- Tags and registries, and how to verify a signature.
- How images are checked before they ship, and how they are measured.
- Maintaining: local builds and the publishing pipeline.
Contributions are welcome. Read CONTRIBUTING.md first. For larger changes, open an issue before writing code.
Report vulnerabilities privately, as described in SECURITY.md.
Apache-2.0. See LICENSE. The images contain pgAdmin, under the PostgreSQL Licence, and the official image's own files; see NOTICE.
PostgreSQL® and the Slonik logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada. This project is not affiliated with or endorsed by the Association, nor with the pgAdmin project, whose release it packages.