Replies: 1 comment
-
当我删除 "--net=host" 配置时,容器可以正常使用,但是代码连接报错,如下所示:
堆栈异常如下:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
报错如下所示:我使用的是命令是:
$ docker run -it --net=host apache/rocketmq ./mqnamesrv
$ docker run -it --net=host --mount source=/tmp/store,target=/home/rocketmq/store apache/rocketmq ./mqbroker -n localhost:9876
docker: no name set for network.
查看docker网络,host网络是存在的
Beta Was this translation helpful? Give feedback.
All reactions