https://blog.csdn.net/weixin_42660202/article/details/115611879
补充:
1、docker 查看宿主机网络:ifconfig 有一个 docker0 的虚拟网卡,容器可以通过该ip访问宿主机
2、docker容器安装vim , 需要先更新本地包源,通过 apt-get update ,然后执行apt-get install vim -y即可
3、执行 ./hue syncdb初始化过程,会遇到 Did you install mysqlclient or MySQL-python , 这个问题,这里我们使用 /usr/share/hue/build/env/bin/pip3 ,安装 mysqlclient 和pymysql 即可。切勿直接使用pip来安装
HUE 官网: https://docs.gethue.com/administrator/configuration/connectors/
docker 查看日志 https://www.jianshu.com/p/1eb1d1d3f25e