2021-02-05 10:18:50 -06:00
|
|
|
# pgAdmin Docker Container Builds
|
|
|
|
|
2019-09-16 07:48:11 -05:00
|
|
|
This directory contains the files required to create a docker container running
|
|
|
|
pgAdmin.
|
2017-10-12 04:12:55 -05:00
|
|
|
|
2021-02-05 10:18:50 -06:00
|
|
|
## Building
|
2017-10-12 04:12:55 -05:00
|
|
|
|
2019-09-16 07:48:11 -05:00
|
|
|
From the top level directory of the pgAdmin source tree, simply run:
|
2017-10-12 04:12:55 -05:00
|
|
|
|
2021-02-05 10:18:50 -06:00
|
|
|
docker build .
|
2017-10-12 04:12:55 -05:00
|
|
|
|
2021-02-05 10:18:50 -06:00
|
|
|
You can also run *make docker*, which will call *docker build .* but also tag
|
2019-09-16 07:48:11 -05:00
|
|
|
the image like:
|
2017-10-12 04:12:55 -05:00
|
|
|
|
2021-02-05 10:18:50 -06:00
|
|
|
pgadmin4 pgadmin4:latest pgadmin4:4 pgadmin4:4.12
|
|
|
|
|
|
|
|
### WARNING
|
2019-09-16 07:48:11 -05:00
|
|
|
|
2021-02-05 10:18:50 -06:00
|
|
|
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.
|
2017-10-12 04:12:55 -05:00
|
|
|
|
2021-02-05 10:18:50 -06:00
|
|
|
## Running
|
2017-10-12 04:12:55 -05:00
|
|
|
|
2021-02-05 10:18:50 -06:00
|
|
|
See the documentation at *docs/en_US/container_deployment.rst* for information on
|
2019-09-16 07:48:11 -05:00
|
|
|
running the container.
|