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: docker-image/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# Run PostgreSQL with RocksDB in Docker
2
2
3
-
We can also deploy the PostgreSQL with RocksDB in Docker container.
3
+
We can deploy PostgreSQL with RocksDB in Docker container.
4
4
5
5
## Testing
6
6
7
-
We can start a PostgreSQL container with the following official docker image.
7
+
Start the container with the following Docker image we have provided.
8
8
9
-
- Run a docker container:
9
+
- Run a Docker container:
10
10
11
11
```sh
12
12
docker run -d --name postgresql -p 5432:5432 registry.cn-shanghai.aliyuncs.com/vidardb/postgresql:rocksdb-6.2.4
@@ -18,25 +18,25 @@ We can start a PostgreSQL container with the following official docker image.
18
18
psql -h 127.0.0.1 -p 5432 -U postgres
19
19
```
20
20
21
-
Please note that you have already install the PostgreSQL client and you can execute any sql in it.
21
+
Please note that PostgreSQL client should already be installed before running the container.
22
22
23
23
## Building
24
24
25
-
We can also build a new docker image in the following way. But before it, we need to install docker engine inour building machine.
25
+
We can build a new Docker image in the following way. It is the prerequisite that install docker engine inthe building machine.
26
26
27
-
- Install docker engine:
27
+
- Install Docker engine:
28
28
29
-
Docker Engine is available on multiple platforms. Just follow the [official doc](https://docs.docker.com/install/#supported-platforms) to choose the best installation path for you.
29
+
Docker engine is available on multiple platforms. Just follow the [official doc](https://docs.docker.com/install/#supported-platforms) to choose the best installation option for you.
30
30
31
-
- Build docker image:
31
+
- Build Docker image:
32
32
33
33
```sh
34
34
make docker-image
35
35
```
36
36
37
37
After executing the previous command, it will build docker image with the default image repository and name: `vidardb/postgresql:rocksdb-6.2.4`.
38
38
39
-
But you can also specify your own build parameters:
0 commit comments