Shell 从主机刷新cassandra nodetool

Shell 从主机刷新cassandra nodetool,shell,cassandra,Shell,Cassandra,我想在容器外执行Cassandra“nodetool refresh”命令 我们有通过shell脚本执行的命令吗? 我的shell脚本nodetool_refresh.sh在主机中 我想说的是,我不需要docker exec命令。docker exec谢谢,但我不想运行docker exec这就是计划。这样,您就可以在您的计算机上安装nodetool并从那里运行nodetool刷新。在容器外运行nodetool刷新将要求您在容器外公开JMX,这将增加安全攻击面

我想在容器外执行Cassandra“nodetool refresh”命令

我们有通过shell脚本执行的命令吗? 我的shell脚本nodetool_refresh.sh在主机中


我想说的是,我不需要docker exec命令。

docker exec谢谢,但我不想运行docker exec这就是计划。这样,您就可以在您的计算机上安装nodetool并从那里运行nodetool刷新。在容器外运行nodetool刷新将要求您在容器外公开JMX,这将增加安全攻击面