a2501521908 commented on issue #2764:
URL: https://github.com/apache/rocketmq/issues/2764#issuecomment-810062531
检查到问题了,换了镜像之后现在通了,是这句yml配置:
```yml
rmqbroker:
image: apacherocketmq/rocketmq:4.6.0
container_name: rmqbroker
restart: always
depends_on:
- rmqnamesrv
ports:
- 10909:10909
- 10911:10911
- 10912:10912
volumes:
- /home/rocketmq/broker/logs:/root/logs
- /home/rocketmq/broker/store:/root/store
-
/home/rocketmq/broker/conf/broker.conf:/home/rocketmq/rocketmq-4.8.0/conf/broker.conf
command: sh mqbroker -n rmqnamesrv:9876 -c ../conf/broker.conf
```
因为那时候发现官方并没有4.8.0的镜像,但是我容器配置文件内指向的还是4.8.0
`/home/rocketmq/rocketmq-4.8.0/conf/broker.conf`,所以配置文件肯定找不到容器内,就会报错
现在更换了绝对路径为4.6.0之后可以跑通了! `/home/rocketmq/rocketmq-4.6.0/conf/broker.conf`
其他的都是没问题的,就是更新了下官方的镜像就解决了问题了
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]