RabbitMQ on Docker: Permission denied when chown-ing erlang cookie

◇◆丶佛笑我妖孽 提交于 2019-12-10 10:58:20

问题


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:


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



来源:https://stackoverflow.com/questions/39401144/rabbitmq-on-docker-permission-denied-when-chown-ing-erlang-cookie

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!