1
0
mirror of synced 2026-10-23 07:08:55 +03:00
Files
pgadmin4/pkg/docker
Guiorgy 7314f5069b Rewrite the container entrypoint using bash features, and pass values to embedded Python safely (#9510)
Reformat pkg/docker/entrypoint.sh to use bash conditionals, arithmetic and
parameter expansion instead of the workarounds needed for BusyBox ash.

The email validation settings and PGADMIN_DEFAULT_EMAIL are now read from
the environment inside Python rather than interpolated into the Python
source, so an address containing an apostrophe works, and a Python error
during validation stops the container instead of passing silently.
2026-09-30 15:58:59 +01:00
..
2021-02-09 16:15:13 +00:00

pgAdmin Docker Container Builds

This directory contains the files required to create a docker container running pgAdmin.

Building

From the top level directory of the pgAdmin source tree, simply run:

docker build .

You can also run make docker, which will call docker build . but also tag the image like:

pgadmin4 pgadmin4:latest pgadmin4:4 pgadmin4:4.12

WARNING

The build should be run in a CLEAN source tree. Whilst some potentially dangerous files such as config_local.py or log files will be explicitly excluded from the final image, other files will not be.

Running

See the documentation at docs/en_US/container_deployment.rst for information on running the container.