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
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ In your issue report please make sure you provide the following information:
58
58
Pull the latest version of the image from the docker index. This is the recommended method of installation as it is easier to update image in the future. These builds are performed by the **Docker Trusted Build** service.
docker run --name postgresql -d sameersbn/postgresql:9.1-2
77
+
docker run --name postgresql -d sameersbn/postgresql:9.4
78
78
```
79
79
80
80
The simplest way to login to the postgresql container as the administrative `postgres` user is to use the `--volumes-from` docker option to connect to the postgresql server over the unix socket.
Alternately you can fetch the password set for the `postgres` user from the container logs.
@@ -117,7 +117,7 @@ To create a new user you should specify the `DB_USER` and `DB_PASS` variables. T
117
117
```bash
118
118
docker run --name postgresql -d \
119
119
-e 'DB_USER=dbuser' -e 'DB_PASS=dbpass' \
120
-
sameersbn/postgresql:9.1-2
120
+
sameersbn/postgresql:9.4
121
121
```
122
122
123
123
**NOTE**
@@ -128,10 +128,10 @@ Similarly, you can also create a new database by specifying the database name in
128
128
129
129
```bash
130
130
docker run --name postgresql -d \
131
-
-e 'DB_NAME=dbname' sameersbn/postgresql:9.1-2
131
+
-e 'DB_NAME=dbname' sameersbn/postgresql:9.4
132
132
```
133
133
134
-
You may also specify a comma separated list of database names in the `DB_NAME` variable. The following command creates two new databases named *dbname1* and *dbname2 (p.s. this feature is only available in releases greater than 9.1-2)*
134
+
You may also specify a comma separated list of database names in the `DB_NAME` variable. The following command creates two new databases named *dbname1* and *dbname2 (p.s. this feature is only available in releases greater than 9.4)*
, will create a user *dbuser* with the password *dbpass*. It will also create a database named *dbname* and the *dbuser* user will have full access to the *dbname* database.
@@ -167,7 +167,7 @@ The updated run command looks like this.
0 commit comments