Skip to content

Commit

Permalink
update image version in README (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyuyang authored Mar 22, 2023
1 parent f5847f6 commit ea2a910
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ git clone [email protected]:alibaba/havenask.git

* create the container. CONTAINER_NAME specifies the name of the container.
```
docker pull havenask/ha3_runtime:0.2.2
./create_container.sh <CONTAINER_NAME> havenask/ha3_runtime:0.2.2
docker pull havenask/ha3_runtime:0.3.0
./create_container.sh <CONTAINER_NAME> havenask/ha3_runtime:0.3.0
```
* If the connection to Docker Hub is unstable, you can try to download the images from Alibaba Cloud Container Registry.
```
docker pull registry.cn-hangzhou.aliyuncs.com/havenask/ha3_runtime:0.2.2
./create_container.sh <CONTAINER_NAME> registry.cn-hangzhou.aliyuncs.com/havenask/ha3_runtime:0.2.2
docker pull registry.cn-hangzhou.aliyuncs.com/havenask/ha3_runtime:0.3.0
./create_container.sh <CONTAINER_NAME> registry.cn-hangzhou.aliyuncs.com/havenask/ha3_runtime:0.3.0
```


Expand All @@ -76,7 +76,7 @@ python build_demo_data.py /ha3_install
```
python start_demo_searcher.py /ha3_install
```
* havenask container listens on the default port of 4580. Here are some examples. ([More examples](https://github.com/alibaba/havenask/tree/main/example))
* havenask container listens on the default port of 45800. Here are some examples. ([More examples](https://github.com/alibaba/havenask/tree/main/example))


```
Expand Down Expand Up @@ -133,13 +133,13 @@ cd havenask/docker
```
创建容器,其中CONTAINER_NAME为指定的容器名
```
docker pull havenask/ha3_runtime:0.2.2
./create_container.sh <CONTAINER_NAME> havenask/ha3_runtime:0.2.2
docker pull havenask/ha3_runtime:0.3.0
./create_container.sh <CONTAINER_NAME> havenask/ha3_runtime:0.3.0
```
如果由于Docker Hub访问不稳定无法下载以上镜像,可以尝试阿里云镜像源
```
docker pull registry.cn-hangzhou.aliyuncs.com/havenask/ha3_runtime:0.2.2
./create_container.sh <CONTAINER_NAME> registry.cn-hangzhou.aliyuncs.com/havenask/ha3_runtime:0.2.2
docker pull registry.cn-hangzhou.aliyuncs.com/havenask/ha3_runtime:0.3.0
./create_container.sh <CONTAINER_NAME> registry.cn-hangzhou.aliyuncs.com/havenask/ha3_runtime:0.3.0
```
登陆容器
```
Expand Down

0 comments on commit ea2a910

Please sign in to comment.