pgAdmin 4 for restricted OpenShift and Kubernetes, with no privileged component in the image
1.7K

pgAdmin 4 for restricted OpenShift and Kubernetes, with no privileged component left in the image.
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
security report shows the result,
including whatever is still left.
Its limits. 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. The hardened variant also leaves out password-reset email.
Independent. A personal project, not affiliated with, endorsed by or sponsored by the pgAdmin project, the PostgreSQL project, Docker, or any company.
restricted profile.latest for the hardened rebuild, <version> for the official image with only its capability removed.docker run -d --name pgadmin -p 8080:8080 \
-e [email protected] \
-e PGADMIN_DEFAULT_PASSWORD=change-me \
fyannk/pgadmin:latest
It listens on 8080 rather than 80. Everything else documented for the
official image
works the same way.
| Tag | Points to |
|---|---|
latest | The hardened variant of the newest pgAdmin release |
<version>-hardened | The hardened variant of that release, for example 9.18-hardened |
<version> | The official image of that release with only its capability removed, never rebuilt |
For linux/amd64. The images are also on GitHub Container Registry as
ghcr.io/fyannk/pgadmin, with the same digests.
All tags.
Apache-2.0; the images also contain pgAdmin, under the PostgreSQL Licence. 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.
Content type
Image
Digest
sha256:96576df8a…
Size
149.9 MB
Last updated
2 days ago
docker pull fyannk/pgadmin