Skip to content

Minimal BaikalDB Cluster

Tao Liu edited this page Nov 16, 2020 · 9 revisions

使用docker-compose搭建集群

登录 docker.pkg.github.com

cat ~/TOKEN.txt | docker login https://docker.pkg.github.com -u USERNAME --password-stdin

其中 TOKEN.txt 内是个人用户的 PAT(personal access token),参考创建PAT,只需要勾选read:packages 权限即可

USERNAME 是github 用户名

启动

cd insider-preview
docker-compose up

体验使用

执行 mysql -h127.0.0.1 -P28282 -uroot -proot登录

use TestDB; create/select/insert ..

Clone this wiki locally