news 2026/4/18 8:00:21

docker安装oceanbase-ce

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
docker安装oceanbase-ce

按照官方存储库 https://github.com/oceanbase/oceanbase/ 的说明

docker run -p 2881:2881 --name oceanbase-ce -e MODE=mini -d quay.io/oceanbase/oceanbase-ce Trying to pull quay.io/oceanbase/oceanbase-ce:latest... Getting image source signatures Copying blob 4f4fb700ef54 skipped: already exists Copying blob 6728bf757e31 done Copying blob 54273d8675f3 done Copying blob 2efd70a35384 done Copying blob 72ee1022ca9b done Copying blob a82121c3f71c done Copying blob 445ce7ca8c79 done Copying blob e9f1938383fe done Copying blob a79d63ec3340 done Copying blob 8ebd046c2d04 done Copying blob 8c3dfb3c9ec9 done Copying blob 3ce39581b024 done Copying blob e2bc6002f07a done Copying blob 1c0caaab7740 done Copying blob 62a271553270 done Copying blob f6cd8d3a5322 done Copying blob 4231d32e6426 done Copying blob 6097e28a5581 done Copying blob 14e5b691fa32 done Copying blob a331b8c8fc22 done Copying blob a89ad9e2f6ce done Copying config 2049186443 done Writing manifest to image destination Storing signatures 22d8502f840462d52cd6143ca3ac34d1fd1bc63f6273d61690fff5de7b12f82e docker image list -a|grep oce quay.io/oceanbase/oceanbase-ce latest 2049186443c1 4 weeks ago 1.55 GB docker exec -it oceanbase-ce obclient -h127.0.0.1 -P2881 -uroot Welcome to the OceanBase. Commands end with ; or \g. Your OceanBase connection id is 3221518882 Server version: OceanBase_CE 4.3.5.5 (r105000012025111711-c10174c0486c38f64a2222486986bbe15d5da0dc) (Built Nov 17 2025 12:20:08) Copyright (c) 2000, 2018, OceanBase and/or its affiliates. All rights reserved. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. obclient(root@(none))[(none)]> select version(); +------------------------------+ | version() | +------------------------------+ | 5.7.25-OceanBase_CE-v4.3.5.5 | +------------------------------+ 1 row in set (0.002 sec) obclient(root@(none))[(none)]> obclient(root@(none))[(none)]> with recursive t as(select 1 a union all select a+1 from t where a<3)select * from t; +------+ | a | +------+ | 1 | | 2 | | 3 | +------+ 3 rows in set (0.012 sec) obclient(root@(none))[(none)]> select 1 << 3, 1&& 6, 1^5 ; +--------+-------+------+ | 1 << 3 | 1&& 6 | 1^5 | +--------+-------+------+ | 8 | 1 | 4 | +--------+-------+------+ 1 row in set (0.005 sec) obclient(root@(none))[(none)]> select [1,2,3]; +---------+ | [1,2,3] | +---------+ | [1,2,3] | +---------+ 1 row in set (0.015 sec)
版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/4/18 3:34:39

DiskInfo命令查看GPU节点存储空间使用情况

DiskInfo命令查看GPU节点存储空间使用情况 在现代AI工程实践中&#xff0c;一个看似不起眼的运维细节——磁盘空间管理&#xff0c;往往成为决定训练任务成败的关键因素。我们常把注意力集中在GPU利用率、显存占用这些“高光指标”上&#xff0c;却容易忽略本地存储这个沉默的瓶…

作者头像 李华
网站建设 2026/4/18 6:28:41

Markdown table of contents生成多级导航

Markdown 多级导航的生成机制与工程实践 在开发者的日常工作中&#xff0c;一份清晰的技术文档往往比冗长的会议沟通更高效。尤其是在 AI 模型部署、环境配置这类复杂场景中&#xff0c;用户最怕的不是操作步骤多&#xff0c;而是“找不到该看哪一节”。这时候&#xff0c;一个…

作者头像 李华
网站建设 2026/4/18 6:24:58

Git blame追溯PyTorch某行代码作者

Git Blame追溯PyTorch代码作者与容器化开发环境实践 在深度学习项目开发中&#xff0c;你是否遇到过这样的场景&#xff1a;调试模型时发现某个奇怪的行为&#xff0c;怀疑是框架底层实现的问题&#xff0c;于是点进 torch.nn.Linear 的源码&#xff0c;看到一行看似可疑的初始…

作者头像 李华
网站建设 2026/4/18 6:29:41

模型并行与流水线并行设计:实战操作指南

模型并行与流水线并行&#xff1a;如何让千亿参数模型在有限GPU上跑起来&#xff1f;你有没有遇到过这样的场景&#xff1f;训练一个大模型时&#xff0c;刚加载完模型就爆显存了。PyTorch 报错&#xff1a;“CUDA out of memory”&#xff0c;而你手里只有 8 张 A100 —— 这已…

作者头像 李华
网站建设 2026/4/6 20:16:32

PyTorch张量设备移动:CPU与GPU之间转换

PyTorch张量设备移动&#xff1a;CPU与GPU之间转换 在深度学习项目中&#xff0c;一个看似简单的操作——“把数据放到GPU上”——却常常成为新手踩坑的起点。你是否曾遇到过这样的报错&#xff1f; RuntimeError: Expected all tensors to be on the same device, but found a…

作者头像 李华
网站建设 2026/4/18 6:33:55

SSH EscapeChar特殊字符退出隧道连接

SSH EscapeChar&#xff1a;远程连接中的“紧急制动”机制 在深度学习的日常开发中&#xff0c;你是否遇到过这样的场景&#xff1f;正通过 SSH 连接到远程 GPU 服务器训练一个 PyTorch 模型&#xff0c;突然网络波动导致终端卡住——敲 CtrlC 没反应&#xff0c;输入 exit 不生…

作者头像 李华