Open pintse opened 5 years ago
I try every environment parameter above the command, the container crash when I set the "EMQX_HOST="192.168.0.2". The IP address is the host OS IP, I think that because I am not familiar with Docker, I set the wrong IP address. How to set up the EMQX_HOST value?
Make sure you read and understand http://emqtt.io/docs/v2/index.html. Use one of the two templates below and delete the rest.
Expected behavior
I Hope that there are two nodes in the cluster. Host 1 : 192.168.0.2 Host 2 : 192.168.0.3
I follow the README.md in https://github.com/emqx/emqx-docker to use the command to run the EMQX in the docker.
then the broker is been started up.
Actual behavior
After the broker is being started up and pass several minutes, it crashes.
The container log:
IExec: /opt/emqx/erts-10.3.5.4/bin/erlexec -boot /opt/emqx/releases/v3.2.3/emqx -mode embedded -boot_var ERTS_LIB_DIR /opt/emqx/erts-10.3.5.4/../lib -mnesia dir "/opt/emqx/data/mnesia/emqx@192.168.0.2" -config /opt/emqx/data/configs/app.2019.10.04.08.15.44.config -args_file /opt/emqx/data/configs/vm.2019.10.04.08.15.44.args -vm_args /opt/emqx/data/configs/vm.2019.10.04.08.15.44.args -- console Root: /opt/emqx /opt/emqx Starting emqx on node emqx@192.168.0.2 Start http:management listener on 8080 successfully. Start http:dashboard listener on 18083 successfully. Start mqtt:tcp listener on 127.0.0.1:11883 successfully. Start mqtt:tcp listener on 0.0.0.0:1883 successfully. Start mqtt:ws listener on 0.0.0.0:8083 successfully. Start mqtt:ssl listener on 0.0.0.0:8883 successfully. Start mqtt:wss listener on 0.0.0.0:8084 successfully. EMQ X Broker 3.2.3 is running now! Eshell V10.3.5.4 (abort with ^G) (emqx@192.168.0.2)1> ['2019-10-04T08:16:03Z']:emqx exit abnormally
Test code
The command for starting the container:
Provide a Minimal, Complete, and Verifiable example which will reproduce the problem.
EMQ version
I pull the image from the Docker Hub: 3.2.3
Docker version
Which docker-engine version?
How docker info?
System
Windows 10 Enterprise
Hardware
HP ZBook