Skip to content

Commit

Permalink
docs: image tag update
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdrivingduck authored and polardb-bot[bot] committed Dec 28, 2023
1 parent a26fc13 commit 6c35ac4
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
10 changes: 5 additions & 5 deletions README-CN.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<div align="center">

[![logo](docs/.vuepress/public/images/polardb.png)](https://developer.aliyun.com/topic/polardb-for-pg)
[![logo](docs/.vuepress/public/images/polardb.png)](https://www.polardbpg.com/home)

# PolarDB for PostgreSQL

**阿里云自主研发的云原生数据库产品**

#### [English](README.md) | 简体中文

[![official](https://img.shields.io/badge/官方网站-blueviolet?style=for-the-badge&logo=alibabacloud)](https://developer.aliyun.com/topic/polardb-for-pg)
[![official](https://img.shields.io/badge/官方网站-blueviolet?style=for-the-badge&logo=alibabacloud)](https://www.polardbpg.com/home)

[![cirrus-ci-stable](https://img.shields.io/cirrus/github/ApsaraDB/PolarDB-for-PostgreSQL/POLARDB_11_STABLE?style=for-the-badge&logo=cirrusci)](https://cirrus-ci.com/github/ApsaraDB/PolarDB-for-PostgreSQL/POLARDB_11_STABLE)
[![cirrus-ci-dev](https://img.shields.io/cirrus/github/ApsaraDB/PolarDB-for-PostgreSQL/POLARDB_11_DEV?style=for-the-badge&logo=cirrusci)](https://cirrus-ci.com/github/ApsaraDB/PolarDB-for-PostgreSQL/POLARDB_11_DEV)
Expand Down Expand Up @@ -58,11 +58,11 @@ PolarDB 采用了基于 Shared-Storage 的存储计算分离架构。数据库

```bash
# 拉取单节点 PolarDB 镜像
docker pull polardb/polardb_pg_local_instance:single
docker pull polardb/polardb_pg_local_instance
# 创建运行并进入容器
docker run -it --cap-add=SYS_PTRACE --privileged=true --name polardb_pg_single polardb/polardb_pg_local_instance:single bash
docker run -it --rm polardb/polardb_pg_local_instance psql
# 测试实例可用性
psql -h 127.0.0.1 -c 'select version();'
postgres=# SELECT version();
version
--------------------------------
PostgreSQL 11.9 (POLARDB 11.9)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<div align="center">

[![logo](docs/.vuepress/public/images/polardb.png)](https://developer.aliyun.com/topic/polardb-for-pg)
[![logo](docs/.vuepress/public/images/polardb.png)](https://www.polardbpg.com/home)

# PolarDB for PostgreSQL

**A cloud-native database developed by Alibaba Cloud**

#### English | [简体中文](README-CN.md)

[![official](https://img.shields.io/badge/official%20site-blueviolet?style=for-the-badge&logo=alibabacloud)](https://developer.aliyun.com/topic/polardb-for-pg)
[![official](https://img.shields.io/badge/official%20site-blueviolet?style=for-the-badge&logo=alibabacloud)](https://www.polardbpg.com/home)

[![cirrus-ci-stable](https://img.shields.io/cirrus/github/ApsaraDB/PolarDB-for-PostgreSQL/POLARDB_11_STABLE?style=for-the-badge&logo=cirrusci)](https://cirrus-ci.com/github/ApsaraDB/PolarDB-for-PostgreSQL/POLARDB_11_STABLE)
[![cirrus-ci-dev](https://img.shields.io/cirrus/github/ApsaraDB/PolarDB-for-PostgreSQL/POLARDB_11_DEV?style=for-the-badge&logo=cirrusci)](https://cirrus-ci.com/github/ApsaraDB/PolarDB-for-PostgreSQL/POLARDB_11_DEV)
Expand Down Expand Up @@ -58,11 +58,11 @@ If you have Docker installed already,then you can pull the instance image of P

```bash
# pull the instance image from DockerHub
docker pull polardb/polardb_pg_local_instance:single
docker pull polardb/polardb_pg_local_instance
# create, run and enter the container
docker run -it --cap-add=SYS_PTRACE --privileged=true --name polardb_pg_single polardb/polardb_pg_local_instance:single bash
docker run -it --rm polardb/polardb_pg_local_instance psql
# check
psql -h 127.0.0.1 -c 'select version();'
postgres=# SELECT version();
version
--------------------------------
PostgreSQL 11.9 (POLARDB 11.9)
Expand Down
4 changes: 2 additions & 2 deletions docs/deploying/fs-pfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ PolarDB File System,简称 PFS 或 PolarFS,是由阿里云自主研发的高
推荐使用 [DockerHub](https://hub.docker.com/u/polardb) 上的 PolarDB for PostgreSQL [可执行文件镜像](https://hub.docker.com/r/polardb/polardb_pg_binary/tags),目前支持 `linux/amd64``linux/arm64` 两种架构,其中已经包含了编译完毕的 PFS 工具,无需手动编译安装。通过以下命令进入容器即可:

```shell:no-line-numbers
docker pull polardb/polardb_pg_binary:pfs
docker pull polardb/polardb_pg_binary
docker run -it \
--cap-add=SYS_PTRACE \
--privileged=true \
--name polardb_pg \
--shm-size=512m \
polardb/polardb_pg_binary:pfs \
polardb/polardb_pg_binary \
bash
```

Expand Down
4 changes: 2 additions & 2 deletions docs/operation/ro-online-promote.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ PolarDB for PostgreSQL 是一款存储与计算分离的云原生数据库,所
为方便起见,本示例使用基于本地磁盘的实例来进行演示。拉取如下镜像并启动容器,可以得到一个基于本地磁盘的 HTAP 实例:

```shell:no-line-numbers
docker pull polardb/polardb_pg_local_instance:htap
docker pull polardb/polardb_pg_local_instance
docker run -it \
--cap-add=SYS_PTRACE \
--privileged=true \
--name polardb_pg_htap \
--shm-size=512m \
polardb/polardb_pg_local_instance:htap \
polardb/polardb_pg_local_instance \
bash
```

Expand Down
8 changes: 4 additions & 4 deletions docs/operation/scale-out.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ PolarDB for PostgreSQL 是一款存储与计算分离的数据库,所有计算
首先,在已经搭建完毕的共享存储集群上,初始化并启动第一个计算节点,即读写节点,该节点可以对共享存储进行读写。我们在下面的镜像中提供了已经编译完毕的 PolarDB for PostgreSQL 内核和周边工具的可执行文件:

```shell:no-line-numbers
$ docker pull polardb/polardb_pg_binary:pfs
$ docker pull polardb/polardb_pg_binary
$ docker run -it \
--cap-add=SYS_PTRACE \
--privileged=true \
--name polardb_pg \
--shm-size=512m \
polardb/polardb_pg_binary:pfs \
polardb/polardb_pg_binary \
bash
$ ls ~/tmp_basedir_polardb_pg_1100_bld/bin/
Expand Down Expand Up @@ -130,13 +130,13 @@ $HOME/tmp_basedir_polardb_pg_1100_bld/bin/psql \
类似地,在用于部署新计算节点的机器上,拉取镜像并启动带有可执行文件的容器:

```shell:no-line-numbers
docker pull polardb/polardb_pg_binary:pfs
docker pull polardb/polardb_pg_binary
docker run -it \
--cap-add=SYS_PTRACE \
--privileged=true \
--name polardb_pg \
--shm-size=512m \
polardb/polardb_pg_binary:pfs \
polardb/polardb_pg_binary \
bash
```

Expand Down
4 changes: 2 additions & 2 deletions docs/operation/tpch-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ minute: 20
使用 Docker 快速拉起一个基于本地存储的 PolarDB for PostgreSQL 集群:

```shell:no-line-numbers
docker pull polardb/polardb_pg_local_instance:htap
docker pull polardb/polardb_pg_local_instance
docker run -it \
--cap-add=SYS_PTRACE \
--privileged=true \
--name polardb_pg_htap \
--shm-size=512m \
polardb/polardb_pg_local_instance:htap \
polardb/polardb_pg_local_instance \
bash
```

Expand Down
4 changes: 2 additions & 2 deletions docs/zh/deploying/fs-pfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ PolarDB File System,简称 PFS 或 PolarFS,是由阿里云自主研发的高
推荐使用 [DockerHub](https://hub.docker.com/u/polardb) 上的 PolarDB for PostgreSQL [可执行文件镜像](https://hub.docker.com/r/polardb/polardb_pg_binary/tags),目前支持 `linux/amd64``linux/arm64` 两种架构,其中已经包含了编译完毕的 PFS 工具,无需手动编译安装。通过以下命令进入容器即可:

```shell:no-line-numbers
docker pull polardb/polardb_pg_binary:pfs
docker pull polardb/polardb_pg_binary
docker run -it \
--cap-add=SYS_PTRACE \
--privileged=true \
--name polardb_pg \
--shm-size=512m \
polardb/polardb_pg_binary:pfs \
polardb/polardb_pg_binary \
bash
```

Expand Down
4 changes: 2 additions & 2 deletions docs/zh/operation/ro-online-promote.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ PolarDB for PostgreSQL 是一款存储与计算分离的云原生数据库,所
为方便起见,本示例使用基于本地磁盘的实例来进行演示。拉取如下镜像并启动容器,可以得到一个基于本地磁盘的 HTAP 实例:

```shell:no-line-numbers
docker pull polardb/polardb_pg_local_instance:htap
docker pull polardb/polardb_pg_local_instance
docker run -it \
--cap-add=SYS_PTRACE \
--privileged=true \
--name polardb_pg_htap \
--shm-size=512m \
polardb/polardb_pg_local_instance:htap \
polardb/polardb_pg_local_instance \
bash
```

Expand Down
8 changes: 4 additions & 4 deletions docs/zh/operation/scale-out.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ PolarDB for PostgreSQL 是一款存储与计算分离的数据库,所有计算
首先,在已经搭建完毕的共享存储集群上,初始化并启动第一个计算节点,即读写节点,该节点可以对共享存储进行读写。我们在下面的镜像中提供了已经编译完毕的 PolarDB for PostgreSQL 内核和周边工具的可执行文件:

```shell:no-line-numbers
$ docker pull polardb/polardb_pg_binary:pfs
$ docker pull polardb/polardb_pg_binary
$ docker run -it \
--cap-add=SYS_PTRACE \
--privileged=true \
--name polardb_pg \
--shm-size=512m \
polardb/polardb_pg_binary:pfs \
polardb/polardb_pg_binary \
bash
$ ls ~/tmp_basedir_polardb_pg_1100_bld/bin/
Expand Down Expand Up @@ -130,13 +130,13 @@ $HOME/tmp_basedir_polardb_pg_1100_bld/bin/psql \
类似地,在用于部署新计算节点的机器上,拉取镜像并启动带有可执行文件的容器:

```shell:no-line-numbers
docker pull polardb/polardb_pg_binary:pfs
docker pull polardb/polardb_pg_binary
docker run -it \
--cap-add=SYS_PTRACE \
--privileged=true \
--name polardb_pg \
--shm-size=512m \
polardb/polardb_pg_binary:pfs \
polardb/polardb_pg_binary \
bash
```

Expand Down
4 changes: 2 additions & 2 deletions docs/zh/operation/tpch-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ minute: 20
使用 Docker 快速拉起一个基于本地存储的 PolarDB for PostgreSQL 集群:

```shell:no-line-numbers
docker pull polardb/polardb_pg_local_instance:htap
docker pull polardb/polardb_pg_local_instance
docker run -it \
--cap-add=SYS_PTRACE \
--privileged=true \
--name polardb_pg_htap \
--shm-size=512m \
polardb/polardb_pg_local_instance:htap \
polardb/polardb_pg_local_instance \
bash
```

Expand Down

0 comments on commit 6c35ac4

Please sign in to comment.