Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i mount the emqx.conf file #115

Closed
robertzml opened this issue Jun 1, 2019 · 2 comments
Assignees
Labels
bug

Comments

@robertzml
Copy link

@robertzml robertzml commented Jun 1, 2019

I'm trying to mount my custom config file for emqx.

docker run -d --name emqx31 -p 1883:1883 -p 8083:8083 -p 8883:8883 -p 8084:8084 -p 18083:18083 --mount type=bind,source=/home/zml/emqx-etc/emqx.conf,target=/opt/emqx/etc/emqx.conf emqx/emqx:v3.1.0

but the container told me that
sed: can't move '/opt/emqx/etc/emqx.confOpgMbG' to '/opt/emqx/etc/emqx.conf': Resource busy

beside config by environment, is there a way that I can mount my emqx.conf

@zhanghongtong

This comment has been minimized.

Copy link
Contributor

@zhanghongtong zhanghongtong commented Jun 4, 2019

@robertzml Sorry to reply so late, this is a bug, we will fix it in the latest version.

@zhanghongtong zhanghongtong added bug and removed support labels Jun 4, 2019
zhanghongtong added a commit that referenced this issue Jun 4, 2019
@zhanghongtong

This comment has been minimized.

Copy link
Contributor

@zhanghongtong zhanghongtong commented Jun 19, 2019

This bug was fixed in 3.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.