Skip to content

Commit 26e2ea8

Browse files
Yanghanrui666Yanghanrui666
authored andcommitted
docs: fix Docker image syntax in installation guides
1 parent 6068dc3 commit 26e2ea8

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

CN/modules/ROOT/pages/3.1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ $ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d
135135
```
136136
$ docker ps | grep ivorysql
137137
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
138-
6faa2d0ed705 ivorysql:{ivorysql-version}-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql
138+
6faa2d0ed705 ivorysql/ivorysql:{ivorysql-version}-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql
139139
```
140140

141141
== 数据库连接

CN/modules/ROOT/pages/4.6.4.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d
3131
```
3232
$ docker ps | grep ivorysql
3333
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
34-
6faa2d0ed705 ivorysql:{ivorysql-version}-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql
34+
6faa2d0ed705 ivorysql/ivorysql:{ivorysql-version}-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql
3535
```
3636

3737
== podman方式运行

EN/modules/ROOT/pages/3.1.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ ivorysql 3238 1551 0 20:35 pts/0 00:00:00 grep --color=auto postgres
111111

112112
[source,bash,subs="attributes"]
113113
```
114-
$ docker pull ivorysql/IvorySQL {ivorysql-version}-ubi8
114+
$ docker pull ivorysql/ivorysql:{ivorysql-version}-ubi8
115115
```
116116

117117
TIP: Users in China can also pull from the IvorySQL community Harbor registry for faster downloads, e.g. `docker pull registry.highgo.com/ivorysql/ivorysql:{ivorysql-version}-ubi8`.
@@ -120,7 +120,7 @@ TIP: Users in China can also pull from the IvorySQL community Harbor registry fo
120120

121121
[source,bash,subs="attributes"]
122122
```
123-
$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/IvorySQL {ivorysql-version}-ubi8
123+
$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:{ivorysql-version}-ubi8
124124
```
125125

126126
** Check if the IvorySQL container is running successfully
@@ -129,7 +129,7 @@ $ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d
129129
```
130130
$ docker ps | grep ivorysql
131131
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
132-
6faa2d0ed705 IvorySQL {ivorysql-version}-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql
132+
6faa2d0ed705 ivorysql/ivorysql:{ivorysql-version}-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql
133133
```
134134

135135
== Connecting to IvorySQL

EN/modules/ROOT/pages/4.1.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ $ sudo dnf install -y ivorysql5-{ivorysql-version}
4444

4545
[source,bash,subs="attributes"]
4646
```
47-
$ docker pull ivorysql/IvorySQL {ivorysql-version}-ubi8
47+
$ docker pull ivorysql/ivorysql:{ivorysql-version}-ubi8
4848
```
4949

5050
TIP: Users in China can also pull from the IvorySQL community Harbor registry for faster downloads — replace the image reference above with `registry.highgo.com/ivorysql/ivorysql:{ivorysql-version}-ubi8`.
@@ -53,7 +53,7 @@ TIP: Users in China can also pull from the IvorySQL community Harbor registry fo
5353

5454
[source,bash,subs="attributes"]
5555
```
56-
$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/IvorySQL {ivorysql-version}-ubi8
56+
$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:{ivorysql-version}-ubi8
5757
```
5858
-e Parameter Explanation
5959
|====
@@ -268,7 +268,7 @@ Stop IvorySQL container and remove IvorySQL image:
268268
```
269269
$ docker stop ivorysql
270270
$ docker rm ivorysql
271-
$ docker rmi ivorysql/IvorySQL {ivorysql-version}-ubi8
271+
$ docker rmi ivorysql/ivorysql:{ivorysql-version}-ubi8
272272
```
273273

274274
=== Uninstallation for rpm installation

EN/modules/ROOT/pages/4.6.4.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ In addition to Docker Hub, the IvorySQL community also provides a Harbor registr
1515

1616
[source,bash,subs="attributes"]
1717
```
18-
$ docker pull ivorysql/IvorySQL {ivorysql-version}-ubi8
18+
$ docker pull ivorysql/ivorysql:{ivorysql-version}-ubi8
1919
```
2020

2121
** Running IvorySQL
2222

2323
[source,bash,subs="attributes"]
2424
```
25-
$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/IvorySQL {ivorysql-version}-ubi8
25+
$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:{ivorysql-version}-ubi8
2626
```
2727

2828
** Check if the IvorySQL container is running successfully
@@ -31,7 +31,7 @@ $ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d
3131
```
3232
$ docker ps | grep ivorysql
3333
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
34-
6faa2d0ed705 IvorySQL {ivorysql-version}-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql
34+
6faa2d0ed705 ivorysql/ivorysql:{ivorysql-version}-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql
3535
```
3636

3737
== Running with Podman
@@ -40,9 +40,9 @@ CONTAINER ID IMAGE COMMAND CREATED ST
4040

4141
[source,bash,subs="attributes"]
4242
```
43-
[highgo@manager-node1 ~]$ podman pull ivorysql/IvorySQL {ivorysql-version}-ubi8
44-
✔ docker.io/ivorysql/IvorySQL {ivorysql-version}-ubi8
45-
Trying to pull docker.io/ivorysql/IvorySQL {ivorysql-version}-ubi8...
43+
[highgo@manager-node1 ~]$ podman pull ivorysql/ivorysql:{ivorysql-version}-ubi8
44+
✔ docker.io/ivorysql/ivorysql:{ivorysql-version}-ubi8
45+
Trying to pull docker.io/ivorysql/ivorysql:{ivorysql-version}-ubi8...
4646
Getting image source signatures
4747
Copying blob 5885448c5c88 done |
4848
Copying blob 6c502b378234 done |
@@ -65,7 +65,7 @@ Writing manifest to image destination
6565

6666
[source,bash,subs="attributes"]
6767
```
68-
$ podman run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=123456 -d ivorysql/IvorySQL {ivorysql-version}-ubi8
68+
$ podman run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=123456 -d ivorysql/ivorysql:{ivorysql-version}-ubi8
6969
```
7070

7171
** Check if IvorySQL Container is Running Successfully
@@ -74,7 +74,7 @@ $ podman run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=123456 -d ivorysq
7474
```
7575
[highgo@manager-node1 ~]$ podman ps | grep ivorysql
7676
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
77-
368dee58d5ef docker.io/ivorysql/IvorySQL {ivorysql-version}-ubi8 postgres 20 seconds ago Up 20 seconds 0.0.0.0:5434->5432/tcp, 1521/tcp, 5866/tcp ivorysql
77+
368dee58d5ef docker.io/ivorysql/ivorysql:{ivorysql-version}-ubi8 postgres 20 seconds ago Up 20 seconds 0.0.0.0:5434->5432/tcp, 1521/tcp, 5866/tcp ivorysql
7878

7979
[highgo@manager-node1 ~]$ podman exec -it ivorysql /bin/bash
8080
[root@8cc631eb413d /]#

0 commit comments

Comments
 (0)