You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -154,7 +154,7 @@ A new PostgreSQL database can be created by specifying the `DB_NAME` variable wh
154
154
```bash
155
155
docker run --name postgresql -itd --restart always \
156
156
--env 'DB_NAME=dbname' \
157
-
sameersbn/postgresql:14-20230628
157
+
sameersbn/postgresql:15-20230628
158
158
```
159
159
160
160
By default databases are created by copying the standard system database named `template1`. You can specify a different template for your database using the `DB_TEMPLATE` parameter. Refer to [Template Databases](http://www.postgresql.org/docs/9.4/static/manage-ag-templatedbs.html) for further information.
@@ -166,7 +166,7 @@ Additionally, more than one database can be created by specifying a comma separa
166
166
```bash
167
167
docker run --name postgresql -itd --restart always \
168
168
--env 'DB_NAME=dbname1,dbname2' \
169
-
sameersbn/postgresql:14-20230628
169
+
sameersbn/postgresql:15-20230628
170
170
```
171
171
172
172
## Granting user access to a database
@@ -177,7 +177,7 @@ If the `DB_USER` and `DB_PASS` variables are specified along with the `DB_NAME`
177
177
docker run --name postgresql -itd --restart always \
The difference between a slave and a snapshot is that a slave is read-only and updated whenever the master data is updated (streaming replication), while a snapshot is read-write and is not updated after the initial snapshot of the data from the master.
Once the backup is generated, the container will exit and the backup of the master data will be available at `/srv/docker/backups/postgresql.XXXXXXXXXXXX/`. Restoring the backup involves starting a container with the data in `/srv/docker/backups/postgresql.XXXXXXXXXXXX`.
@@ -307,7 +307,7 @@ You can customize the launch command of PostgreSQL server by specifying argument
307
307
308
308
```bash
309
309
docker run --name postgresql -itd --restart always \
Please refer to the documentation of [postgres](http://www.postgresql.org/docs/9.4/static/app-postgres.html) for the complete list of available options.
@@ -318,7 +318,7 @@ By default the PostgreSQL server logs are sent to the standard output. Using the
318
318
319
319
```bash
320
320
docker run --name postgresql -itd --restart always \
0 commit comments