Windows下Docker部署Starrocks

拉取镜像

docker pull starrocks/allin1-ubuntu:3.1.10

启动容器

docker run -d --name starrocks -p 19030:9030 -p 18030:8030 -p 18040:8040 starrocks/allin1-ubuntu:3.1.10

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

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

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.

修改密码

SET PASSWORD = PASSWORD('123456');

Query OK, 0 rows affected (0.02 sec)

登录 http://localhost:18030/

用户名:root,密码:123456

如图

 

相关推荐

  1. Starrocks docker-compose部署

    2024-04-06 02:48:03       13 阅读
  2. StarRocks部署

    2024-04-06 02:48:03       15 阅读
  3. windowsdocker的使用

    2024-04-06 02:48:03       31 阅读
  4. windowsdocker创建mysql

    2024-04-06 02:48:03       14 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-04-06 02:48:03       19 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-04-06 02:48:03       20 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-04-06 02:48:03       20 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-04-06 02:48:03       20 阅读

热门阅读

  1. 威胁建模与网络安全测试方法

    2024-04-06 02:48:03       17 阅读
  2. 2024.3.24力扣每日一题——零钱兑换

    2024-04-06 02:48:03       17 阅读
  3. 2024/4/2 HarmonyOS学习笔记一TS数据类型

    2024-04-06 02:48:03       16 阅读
  4. matlab学习(二)(4.2-4.8)

    2024-04-06 02:48:03       11 阅读
  5. 【趣味学算法】11_黑洞数

    2024-04-06 02:48:03       15 阅读
  6. postcss安装和使用

    2024-04-06 02:48:03       17 阅读
  7. 【WPF应用26】C#中的CheckBox控件详解与应用示例

    2024-04-06 02:48:03       18 阅读
  8. 热浪

    2024-04-06 02:48:03       18 阅读
  9. WebView的使用和后退键处理

    2024-04-06 02:48:03       18 阅读
  10. 蓝桥杯每日一题:转圈游戏(快速幂)

    2024-04-06 02:48:03       17 阅读
  11. SpringBoot 接口加密解密

    2024-04-06 02:48:03       16 阅读
  12. “全双工“是什么

    2024-04-06 02:48:03       17 阅读