参看:
https://cloud.tencent.com/developer/article/2359831
https://hub.docker.com/r/pgvector/pgvector/tags
https://github.com/pgvector/pgvector
一、安装
拉取0.7版本
docker pull pgvector/pgvector:0.7.4-pg16
运行:
docker run --name pgvector -v $(pwd)/data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=123456 -p 5432:5432 -d pgvector/pgvector:0.7.4-pg16
连接:
1)安装客户端
sudo apt update
sudo apt install postgresql