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
NOTE Images older than 9.6 are unable to update tzdata so some tests can fail due to specific way of working with offset on ```TIMESTAMP WITH TIMEZONE```.
docker run --name postgre-15 -e POSTGRES_PASSWORD=<your password> -e POSTGRES_HOST_AUTH_METHOD=md5 -e TZ=<timezone of host> -p 54150:5432 -d do-postgres:15.0
157
164
```
158
-
165
+
```console
166
+
docker run --name postgre-16 -e POSTGRES_PASSWORD=<your password> -e POSTGRES_HOST_AUTH_METHOD=md5 -e TZ=<timezone of host> -p 54160:5432 -d do-postgres:16.0
167
+
```
168
+
```console
169
+
docker run --name postgre-17 -e POSTGRES_PASSWORD=<your password> -e POSTGRES_HOST_AUTH_METHOD=md5 -e TZ=<timezone of host> -p 54170:5432 -d do-postgres:17.0
170
+
```
159
171
160
172
Here,
161
173
162
-
``` --name postgre-15``` - name of the container
174
+
``` --name postgre-17``` - name of the container
163
175
164
176
```-e POSTGRES_PASSWORD=<your password>``` - superuser password, required by base image.
165
177
166
178
```-e POSTGRES_HOST_AUTH_METHOD=md5``` - option that controlls 'auth-method'. For test purposes 'md5' ok.
167
179
168
180
```-e TZ=<timezone of host>``` - Some of tests still assume that test runner and storage insance are in the same timezone. If you run and test locally on your machine, set it to host timezone, otherwise false falling tests appear.
169
181
170
-
```-p 54150:5432``` - host-to-container port mappings. If serveral containers are run on the same host they require to have different ports. We use following pattern - first two digits of standard port (5432) and PostgreSQL version after that e.g. 150 for 15.0, 96 for 9.6.
182
+
```-p 54170:5432``` - host-to-container port mappings. If serveral containers are run on the same host they require to have different ports. We use following pattern - first two digits of standard port (5432) and PostgreSQL version after that e.g. 170 for 17.0, 96 for 9.6.
171
183
172
184
173
185
During first run of container database structure and users will be created. By default it creates 'dotest' user, 'dotest' database with several schemas within.
``` --name mysql-8.0``` - name of container, can be changed, affects nothing
298
+
``` --name mysql-9.2``` - name of container, can be changed, affects nothing
242
299
243
-
``` -p 3380:3306``` - host-to-container port mapping. We use following pattern - two first digits from default port (3306) folowed by version of MySQL e.g. 55 for MySQL 5.5, 80 for MySQL.
300
+
``` -p 3391:3306``` - host-to-container port mapping. We use following pattern - two first digits from default port (3306) folowed by version of MySQL e.g. 55 for MySQL 5.5, 80 for MySQL, 91 for MySQL 9.1.
244
301
245
302
``` -e MYSQL_ROOT_PASSWORD=<your password>``` - root password, required by base image.
246
303
@@ -271,29 +328,43 @@ Server=WILLY;Port=3357;Database=dotest;Uid=dotest;Pwd=dotest;Default Command Tim
``` -e FIREBIRD_DATABASE_PAGE_SIZE=8192``` - page size for database.
311
382
312
-
```-p 3053:3050``` - host-to-container port mapping. We use following pattern - first three digits of standard port (3050) and major version of Firebird.
383
+
```-p 3053:3050``` - host-to-container port mapping. We use following pattern - first three digits of standard port (3050) and major version of Firebird, e.g. 3, 4 ,5.
313
384
314
385
Pair ```FIREBIRD_USER``` / ```FIREBIRD_PASSWORD``` can be omitted, in this case initialization script will handle it and create 'dotest' user with 'dotest' password.
315
386
@@ -318,11 +389,19 @@ More information about standard options [on official image page on docker hub](h
318
389
319
390
### Connect to instance in docker
320
391
321
-
To access an instance run in docker use host name and port you have mapped container to. If we have docker on the same "WILLY" host then connection string may look like:
392
+
To access an instance run in docker use host name and port you have mapped container to. If we have docker on the same "WILLY" host then connection strings may look like:
0 commit comments