Clarify file ownership/permission requirements for mapped files in the container.

pull/27/head
Dave Page 2019-12-17 10:50:52 +00:00
parent f1a18749f6
commit 60304e5a46
1 changed files with 10 additions and 1 deletions

View File

@ -111,7 +111,16 @@ Mapped Files and Directories
The following files or directories can be mapped from the container onto the The following files or directories can be mapped from the container onto the
host machine to allow configuration to be customised and shared between host machine to allow configuration to be customised and shared between
instances: instances.
.. warning:: Warning: pgAdmin runs as the *pgadmin* user (UID: 5050) in the
*pgadmin* group (GID: 5050) in the container. You must ensure that all files
are readable, and where necessary (e.g. the working/session directory) for
this user on the host machine. For example:
.. code-block:: bash
sudo chown -R 5050:5050 <host_directory>
**/var/lib/pgadmin** **/var/lib/pgadmin**