File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,18 +103,21 @@ Percona Distribution for PostgreSQL Docker image includes the `pg_tde` extension
103103Follow these steps to enable `pg_tde`:
104104{.power-number}
105105
106- 1. Start the container with the `ENABLE_PG_TDE=1` environment variable :
106+ 1. Start the container with `pg_tde` added to `shared_preload_libraries` :
107107
108108 ```{.bash data-prompt="$"}
109- docker run --name container-name -e ENABLE_PG_TDE=1 -e POSTGRES_PASSWORD=sUpers3cRet -d percona/percona-distribution-postgresql:{{dockertag}}
109+ docker run --name container-name -e POSTGRES_PASSWORD=sUpers3cRet -d percona/percona-distribution-postgresql:{{dockertag}} -c ' shared_preload_libraries=pg_tde '
110110 ```
111111
112112 where:
113113
114114 * `container-name` is the name you assign to your container
115- * `ENABLE_PG_TDE=1` adds the `pg_tde` to the `shared_preload_libraries` and enables the custom storage manager
115+ * `shared_preload_libraries=pg_tde` enables the `pg_tde` extension and its custom storage manager
116116 * `POSTGRES_PASSWORD` is the superuser password
117117
118+ !!! note
119+ Available starting with version 18.3. For earlier versions, use `-e ENABLE_PG_TDE=1` instead.
120+
1181212. Connect to the container and start the interactive `psql` session:
119122
120123 ```{.bash data-prompt="$"}
You can’t perform that action at this time.
0 commit comments