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: docs/quickstart-docker.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -22,36 +22,36 @@ To use the "Docker run" command, specify the name or ID of the image you want to
22
22
|`--name psmysql`| Provides a meaningful name to the container. If you do not use this option, Docker adds a random name. |
23
23
|`-e MYSQL_ROOT_PASSWORD=secret`| Adds an environmental variable and changes the password from the default password. |
24
24
|`--v myvol:/var/lib/mysql`| Mounts a host directory (myvol) as the container's data volume, ensuring persistent storage for the database between container lifecycles. |
25
-
|`percona/percona-server:8.0.34`| The image with the tag (8.0.34) to specify a specific release. |
25
+
|`percona/percona-server:{{tag}}`| The image with the tag ({{tag}}) to specify a specific release. |
26
26
27
27
You must provide at least one environment variable to access the database, such as `MYSQL_ROOT_PASSWORD`, `MYSQL_DATABASE`, `MYSQL_USER`, and `MYSQL_PASSWORD` or the instance refuses to initialize.
28
28
29
29
If needed, you can replace the `secret` password with a [stronger password](#security-measures).
30
30
31
-
For this document, we add the `8.0.34` tag. In Docker, a tag is a label assigned to an image and is used to maintain different versions of an image. If we did not add a tag, Docker uses `latest` as the default tag and downloads the latest image from [percona/percona-server on the Docker Hub].
31
+
For this document, we add the `{{tag}}` tag. In Docker, a tag is a label assigned to an image and is used to maintain different versions of an image. If we did not add a tag, Docker uses `latest` as the default tag and downloads the latest image from [percona/percona-server on the Docker Hub].
32
32
33
-
To run the Docker ARM64 version of Percona Server for MySQL, use the `8.0.34-26 1-aarch64` tag instead of `8.0.34`.
33
+
To run the Docker ARM64 version of Percona Server for MySQL, use the `{{arm_tag}}` tag instead of `{{tag}}`.
34
34
35
35
```{.bash data-prompt="$"}
36
36
$ docker run -d -p 3306:3306 --name psmysql \
37
37
-e MYSQL_ROOT_PASSWORD=secret \
38
38
-v myvol:/var/lib/mysql \
39
-
percona/percona-server:8.0.34-26 1-aarch64
39
+
percona/percona-server:{{arm_tag}}
40
40
```
41
41
42
42
??? example "Expected output"
43
43
44
44
```{.text .no-copy}
45
-
Unable to find image 'percona/percona-server:8.0.34-26 1-aarch64' locally
46
-
8.0.34-26 1-aarch64: Pulling from percona/percona-server
45
+
Unable to find image 'percona/percona-server:{{arm_tag}}' locally
@@ -92,10 +92,10 @@ You should see the following result.
92
92
```{.text .no-copy}
93
93
Welcome to the MySQL monitor. Commands end with ; or \g.
94
94
Your MySQL connection id is 8
95
-
Server version: 8.0.34-26 Percona Server (GPL), Release 26, Revision 0fe62c85
95
+
Server version: {{tag}} Percona Server (GPL), Release 26, Revision 0fe62c85
96
96
97
-
Copyright (c) 2009-2023 Percona LLC and/or its affiliates
98
-
Copyright (c) 2000, 2023, Oracle and/or its affiliates.
97
+
Copyright (c) 2009-{{year_tag}} Percona LLC and/or its affiliates
98
+
Copyright (c) 2000, {{year_tag}}, Oracle and/or its affiliates.
99
99
100
100
Oracle is a registered trademark of Oracle Corporation and/or its
101
101
affiliates. Other names may be trademarks of their respective
@@ -328,7 +328,7 @@ The steps are as follows:
328
328
Bye
329
329
```
330
330
331
-
2. You may want to remove the docker container and the image if they are no longer needed or to free up disk space. To remove a docker container, use the command`docker rm` followed by `psmysql`, the container ID or name. To remove a docker image, use the command`docker rmi` followed by `percona/percona-server:8.0.34`, the image ID or name and the tag. If you are running the ARM64 version of Percona Server, edit the Docker command to use the `8.0.34-26.1-aarch64` tag with `docker image rmi percona/percona-server:8.0.34-26.1-aarch64`
331
+
2. You may want to remove the docker container and the image if they are no longer needed or to free up disk space. To remove a docker container, use the command`docker rm` followed by `psmysql`, the container ID or name. To remove a docker image, use the command`docker rmi` followed by `percona/percona-server:{{tag}}`, the image ID or name and the tag. If you are running the ARM64 version of Percona Server, edit the Docker command to use the `{{arm_tag}}` tag with `docker image rmi percona/percona-server:{{arm_tag}}`
332
332
333
333
* An example of removing a Docker container.
334
334
@@ -341,15 +341,15 @@ The steps are as follows:
341
341
```{.text .no-copy}
342
342
psmysql
343
343
```
344
-
* An example of removing a Docker image. If running the ARM64 version of Percona Server, edit the Docker command to use the `8.0.34-26.1-aarch64` tag. This edit changes the command to `docker image rmi percona/percona-server:8.0.34-26.1-aarch64`
344
+
* An example of removing a Docker image. If running the ARM64 version of Percona Server, edit the Docker command to use the `{{arm_tag}}` tag. This edit changes the command to `docker image rmi percona/percona-server:{{arm_tag}}`
0 commit comments