RabbitMQ on Docker: Permission denied when chown-i

2019-05-28 13:45发布

I use Kitematic to manage my containers. I run rabbitmq on docker and it's running. The problem is when I configure its volume. Whenever I set local folder for its volume (in Kitematic) it will stop, start, and print the following error:

chown: changing ownership of '/var/lib/rabbitmq/.erlang.cookie': Permission denied

How do I solve this problem?

1条回答
我欲成王,谁敢阻挡
2楼-- · 2019-05-28 14:01

this should fix it chmod 600 /path/to/your/local/volume/.erlang.cookie

Found the answer in https://serverfault.com/questions/406712/rabbitmq-erlang-cookie.

I had the same issue and this fix it. The error message being returned is missing the part about must be accessible by owner only

查看更多
登录 后发表回答