Permission Denied During Docker Runtime
File: /zh_CN/deploy/install-docker.md
docker run --restart=always -d --name emqx -p 1883:1883 -p 8083:8083 -p 8883:8883 -p 8084:8084 -p 18083:18083 -v /data/docker-project/emqx/data:/opt/emqx/data emqx/emqx:5.0.26
As prompted by the documentation, I added -v to mount the data directory. However, when starting the container, it prompts that creating the configs directory failed, with the reason being "Permission denied".
This issue was automatically translated from Chinese.
你好,解决了吗?我也是同样的问题
没法解决。这个目录不挂载,每次重启容器用户数据都会被初始化。真的是服了,商业软件做成这样
没法解决。这个目录不挂载,每次重启容器用户数据都会被初始化。真的是服了,商业软件做成这样 太扯了,我又发现好几个问题,文档写的和答辩一样,本来就是技术调研,这下好了,彻底不用了,改用vernemq吧