Skip to content

Commit 696f575

Browse files
authored
Update README.md
1 parent bb2015c commit 696f575

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docker-image/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Run PostgreSQL with RocksDB in Docker
22

3-
We can also deploy the PostgreSQL with RocksDB in Docker container.
3+
We can deploy PostgreSQL with RocksDB in Docker container.
44

55
## Testing
66

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.
88

9-
- Run a docker container:
9+
- Run a Docker container:
1010

1111
```sh
1212
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.
1818
psql -h 127.0.0.1 -p 5432 -U postgres
1919
```
2020

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.
2222

2323
## Building
2424

25-
We can also build a new docker image in the following way. But before it, we need to install docker engine in our building machine.
25+
We can build a new Docker image in the following way. It is the prerequisite that install docker engine in the building machine.
2626

27-
- Install docker engine:
27+
- Install Docker engine:
2828

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.
3030

31-
- Build docker image:
31+
- Build Docker image:
3232

3333
```sh
3434
make docker-image
3535
```
3636

3737
After executing the previous command, it will build docker image with the default image repository and name: `vidardb/postgresql:rocksdb-6.2.4`.
3838

39-
But you can also specify your own build parameters:
39+
One can also specify the build parameters:
4040

4141
```sh
4242
REGISTRY=<YOUR REGISTRY ADDRESS> IMAGE=<YOUR IMAGE NAME> TAG=<YOUR IMAGE TAG> make docker-image

0 commit comments

Comments
 (0)