docker:来自守护进程的错误响应:未找到网络 cassandra
我正在遵循官方网站上给出的指南(https://cassandra.apache.org/_ /quickstart.html)我对 docker 没有太多经验,所以我需要帮助,我该怎么做才能完成这项工作。
首先我运行
docker run --name cassandra cassandra
第二个
docker run --rm -d --name cassandra_host --hostname cassandra_host --network cassandra cassandra
并收到以下错误
docker: Error response from daemon: network Cassandra not found.
I am following the guide given on the official website(https://cassandra.apache.org/_/quickstart.html) I don't have much experience with docker so I need help, what can I do to make this work.
first I run this
docker run --name cassandra cassandra
2nd
docker run --rm -d --name cassandra_host --hostname cassandra_host --network cassandra cassandra
and I get the below error
docker: Error response from daemon: network Cassandra not found.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对此我们深感抱歉。这是我们文档中的一个错误,我们很快就会对网站进行更新以修复此问题 ( CASSANDRA-17485)。
同时,创建 Docker 网络的命令是:
然后您应该能够启动容器:
干杯!
We're sorry about this. This is an error in our docs and we have a scheduled update to the site soon to fix this (CASSANDRA-17485).
In the meantime, the command to create a Docker network is:
Then you should be able to start the container with:
Cheers!