Skip to content

Commit acf053d

Browse files
authored
PG-2372 - Remove ENABLE_TDE flag (17) (#982)
This PR is a backport of this issue #981.
1 parent 1d5bd35 commit acf053d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

docs/docker.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,21 @@ Percona Distribution for PostgreSQL Docker image includes the `pg_tde` extension
100100
Follow 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+
115118
2. Connect to the container and start the interactive `psql` session:
116119
117120
```{.bash data-prompt="$"}

0 commit comments

Comments
 (0)