starrocks docker安装
Last updated on January 17, 2025 am
🧙 Questions
使用docker安装starrocks
☄️ Ideas
端口号
9030
: doris-fe-query_port ,mysql访问端口8030
: doris-fe-http_port,web-ui访问8040
: doris-be-webserver_port,be服务- –network=host: 使用实际网络访问网卡
docker pull registry.starrocks.io/starrocks/allin1-ubuntu
# or
docker pull starrocks/allin1-ubuntu
docker run \
-d \
--name ispong-starrocks \
--privileged=true \
--restart=always \
--network=host \
-p 30191:9030 \
-p 30192:8030 \
-p 30193:8040 \
-p 30172:9060 \
-itd registry.starrocks.io/starrocks/allin1-ubuntu
访问前端界面
- 127.0.0.1:30192
- 账号:
root
- 密码:
<empty>
使用mysql访问
- jdbcUrl: jdbc:mysql://127.0.0.1:30191
- username: root
- password:
容器访问
docker exec -it ispong-starrocks /bin/bash
mysql -h 127.0.0.1 -u root -P 30191
show databases;
添加backend heartbeat_service_port
ALTER SYSTEM ADD BACKEND "127.0.0.1:9050";
# ALTER SYSTEM DROP BACKEND "127.0.0.1:9050";
SHOW PROC '/backends';
🔗 Links
starrocks docker安装
https://ispong.isxcode.com/db/starrocks/docker 安装starrocks/