Windows下Docker部署Starrocks

拉取镜像

bash 复制代码
docker pull starrocks/allin1-ubuntu:3.1.10

启动容器

bash 复制代码
docker run -d --name starrocks -p 19030:9030 -p 18030:8030 -p 18040:8040 starrocks/allin1-ubuntu:3.1.10

默认用户名为:root,密码为空,需要重置密码!!!

进入容器中使用以下命令登录

bash 复制代码
mysql -P9030 -h127.0.0.1 -uroot --prompt="StarRocks > "

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 14

Server version: 5.1.0 3.1.10-8eea580

Copyright (c) 2000, 2024, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

修改密码

bash 复制代码
SET PASSWORD = PASSWORD('123456');

Query OK, 0 rows affected (0.02 sec)

登录 http://localhost:18030/

用户名:root,密码:123456

如图

相关推荐
Raymond运维13 分钟前
MariaDB源码编译安装(二)
运维·数据库·mariadb
JuiceFS17 小时前
从 MLPerf Storage v2.0 看 AI 训练中的存储性能与扩展能力
运维·后端
chen9451 天前
mysql 3节点mgr集群部署
运维·后端
LH_R1 天前
OneTerm开源堡垒机实战(三):功能扩展与效率提升
运维·后端·安全
dessler1 天前
Hadoop HDFS-高可用集群部署
linux·运维·hdfs
少妇的美梦2 天前
logstash教程
运维
容器魔方2 天前
Bloomberg 正式加入 Karmada 用户组!
云原生·容器·云计算
chen9452 天前
k8s集群部署vector日志采集器
运维
chen9452 天前
aws ec2部署harbor,使用s3存储
运维
muyun28002 天前
Docker 下部署 Elasticsearch 8 并集成 Kibana 和 IK 分词器
elasticsearch·docker·容器