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