Skip to content

Commit 7d3f3c9

Browse files
authored
PG-2372 - Remove ENABLE_TDE flag (18) (#981)
This PR updates the docker installation step to remove the ENABLE TDE option.
1 parent d7396a0 commit 7d3f3c9

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
@@ -103,18 +103,21 @@ Percona Distribution for PostgreSQL Docker image includes the `pg_tde` extension
103103
Follow 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+
118121
2. Connect to the container and start the interactive `psql` session:
119122
120123
```{.bash data-prompt="$"}

0 commit comments

Comments
 (0)