docker - 公共镜像 kubesphere/elasticsearch-oss 的 root 密码:6.7.0-1
问题描述
来自 Docker hub 的 kubesphere/elasticsearch-oss:6.7.0-1 镜像在我想使用 root 帐户安装一些工具时需要提供 root 帐户的密码。如何获取或更改其密码?
sh-4.2$ su root
Password:
su: Authentication failure
解决方案
Kubesphere 支持使用外部 ES,您可以将 ES url 更改为您想要的任何 ES 集群。集群内 ES 不用于生产目的。
是的,不建议在 docker 中安装插件。
推荐阅读
- c++ - 使用 const bool 删除调试信息时的编译器优化
- angular - 将数据从一个组件发送到另一个组件
- python - Python:如何用网络抓取表的第一行替换标题
- c# - 在 WPF-App 中集成帮助的选项
- c - 使用 sqlite3_exec() 在 C 中获取单个结果
- python - 无法使用 Instaloader 和 tkinter 下载图像
- android - 从通知中取消或暂停下载
- java - 检查传递给 Java 泛型的对象类
- sql - 编写 T-SQL 查询以查找至少连续出现 3 次的所有数字
- c++ - Cython unsigned char uuid_t[16] 表示