export DOCKER_HOST_IP=192.168.99.100  (设置内网机器的ip地址)



```shell
echo "DOCKER_HOST_IP= " >> /etc/profile
source /etc/profile 
```





**如果不填写上述的信息则会报 “dial tcp 127.0.0.1:9092: connect: connection refused”的错误**

