启动 Kibana - "No such container: monitoring-x.x.x.x"

Starting Kibana - "No such container: monitoring-x.x.x.x"

我正在通过 BlueData docs 启用 Kibana。

To start Kibana:

  1. Login to the Controller.
  2. Execute the command docker exec -it monitoring-<controller_ip> bash, where <controller_ip> is the IP address of the Controller.
  3. ...

我已经通过 ssh 连接到我的 BlueData 控制器和 运行 docker exec ... 命令,但是,我收到以下错误:

Error response from daemon: No such container: monitoring-10.1.0.26

知道这里出了什么问题吗?


注意:我的 BlueData 版本是 bluedata-epic-entdoc-minimal-release-3.7-2207

首先,检查容器是什么 运行:

$ docker ps
CONTAINER ID        IMAGE                          ...    NAMES
60287e139b54        epic/webhdfs:1.0               ...    epic-webhdfs-10.1.0.26
90f73bb7a37e        epic/monitoring:1.4            ...    epic-monitoring-10.1.0.26
a55758993978        epic/nagios:1.5                ...    epic-nagios-10.1.0.26
309d9084df5a        epic/apache-hdfs-centos:2.7.2  ...    epic-apache-hdfs-centos

您现在可以看到正确的命令:

$ docker exec -it epic-monitoring-10.1.0.26 bash

文档似乎缺少 epic- 后缀,即

而不是...

$ docker exec -it monitoring-<controller_ip> bash

看起来应该是...

$ docker exec -it epic-monitoring-<controller_ip> bash