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

如图

相关推荐
speop9 分钟前
hell-gpu| TASK01-2
linux·运维·算法
再卷还是菜33 分钟前
Cephfs总结及kubernetes+Cephfs的整合项目
云原生·容器·kubernetes
我科绝伦(Huanhuan Zhou)44 分钟前
Linux rpm包损坏解决方案
运维
数据库小学妹1 小时前
MySQL死锁排查:锁机制原理、死锁日志与information_schema定位
运维·数据库·mysql
JoyCong19981 小时前
从iPhone Ultra到ToDesk:折叠大屏时代的效率革命,硬件只是开始
大数据·运维·ios·智能手机·iphone·远程工作·远程操作
力江1 小时前
GitLab 私有化部署实战 —— 从 Omnibus 到 Docker 的踩坑之旅
docker·容器·gitlab
山岚的运维笔记1 小时前
mysql 专业笔记 -- 第 1 章:MySQL 入门
运维·数据库·笔记·后端·学习·mysql·dba
邪修king1 小时前
Re:Linux 系统篇(十五):进程篇(四):进程切换深度解析 —— CPU 寄存器、进程上下文与切换全流程万字详解
linux·运维·服务器
深念Y2 小时前
Docker 镜像体积从 110MB 降到 13MB 后端服务的瘦身
运维·docker·容器
小五传输2 小时前
【一文解读】汽车制造业协同,跨网跨区域文件传输如何落地?
大数据·运维·安全