Skip to content

Commit 0485645

Browse files
authored
PKG-388 Updated the tags in Run in Docker steps (#735)
1 parent 1445c5d commit 0485645

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: docs/docker.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ For more information about using Docker, see the [Docker Docs :octicons-link-ext
3434
1. Start a Percona Distribution for PostgreSQL container as follows:
3535

3636
```{.bash data-prompt="$"}
37-
$ docker run --name container-name -e POSTGRES_PASSWORD=secret -d percona/percona-distribution-postgresql:<tag>-multi
37+
$ docker run --name container-name -e POSTGRES_PASSWORD=secret -d percona/percona-distribution-postgresql:{{dockertag}}
3838
```
3939

4040
Where:
4141

4242
* `container-name` is the name you assign to your container
4343
* `POSTGRES_PASSWORD` is the superuser password
44-
* `tag-multi` is the tag specifying the version you need. For example, `{{dockertag}}-multi`. The `multi` part of the tag serves to identify the architecture (x86_64 or ARM64) and pull the respective image. See the [full list of tags :octicons-link-external-16:](https://hub.docker.com/r/percona/percona-distribution-postgresql/tags/).
44+
* `{{dockertag}}` is the tag specifying the version you need. Docker identifies the architecture (x86_64 or ARM64) and pulls the respective image. See the [full list of tags :octicons-link-external-16:](https://hub.docker.com/r/percona/percona-distribution-postgresql/tags/).
4545

4646

4747
!!! tip
@@ -57,7 +57,7 @@ For more information about using Docker, see the [Docker Docs :octicons-link-ext
5757
2. Start the container:
5858

5959
```{.bash data-prompt="$"}
60-
$ docker run --name container-name --env-file ./.my-pg.env -d percona/percona-distribution-postgresql:<tag>-multi
60+
$ docker run --name container-name --env-file ./.my-pg.env -d percona/percona-distribution-postgresql:{{dockertag}}
6161
```
6262

6363
2. Connect to the container's interactive terminal:
@@ -88,14 +88,14 @@ where:
8888
The following command starts another container instance and runs the `psql` command line client against your original container, allowing you to execute SQL statements against your database:
8989
9090
```{.bash data-prompt="$"}
91-
$ docker run -it --network container:db-container-name --name container-name percona/percona-distribution-postgresql:<tag>-multi psql -h address -U postgres
91+
$ docker run -it --network container:db-container-name --name container-name percona/percona-distribution-postgresql:{{dockertag}} psql -h address -U postgres
9292
```
9393
9494
Where:
9595
9696
* `db-container-name` is the name of your database container
9797
* `container-name` is the name of your container that you will use to connect to the database container using the `psql` command line client
98-
`tag-multi` is the tag specifying the version you need. For example, `{{dockertag}}-multi`. The `multi` part of the tag serves to identify the architecture (x86_64 or ARM64) and pull the respective image.
98+
* `{{dockertag}}` is the tag specifying the version you need. Docker identifies the architecture (x86_64 or ARM64) and pulls the respective image.
9999
* `address` is the network address where your database container is running. Use 127.0.0.1, if the database container is running on the local machine/host.
100100
101101
## Enable encryption

0 commit comments

Comments
 (0)