Solvedrocketmq externals [rocketmq-docker] 4.4.0

BUG REPORT
根据readme操作,按docker或者docker-compose 方式启动,无其他操作
启动后broker 从running状态变为stop,nameserver 状态OK

sudo ./play-docker.sh

4.3.2 版本无此问题

system:

Linux version 3.10.0-957.10.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Mon Mar 18 15:06:45 UTC 2019

docker version:

Client:
Version: 18.06.1-ce
API version: 1.38
Go version: go1.10.3
Git commit: e68fc7a
Built: Tue Aug 21 17:23:03 2018
OS/Arch: linux/amd64
Experimental: false

Server:
Engine:
Version: 18.06.1-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: e68fc7a
Built: Tue Aug 21 17:25:29 2018
OS/Arch: linux/amd64
Experimental: false

docker-compose version:

docker-compose version 1.24.0, build 0aa59064
docker-py version: 3.7.2
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.1.0j 20 Nov 2018

16 Answers

✔️Accepted Answer

把namesrv和broker挂载出来目录改下权限试试。

chown 3000:3000 -R broker(宿主机的挂载目录)
chown 3000:3000 -R namesrv(宿主机的挂载目录)

Related Issues:

13
rocketmq externals [rocketmq-docker] 4.4.0
把namesrv和broker挂载出来目录改下权限试试。 BUG REPORT 根据readme操作,按docker或者docker-compose 方式启动,无其他操作 启动后broker 从run...