How to realize external access for the Hbase cluster built by doc?

  docker, question

Now I use Docker to build an Hbase cluster on the VPS of Aliyun

Implementation of 6 containers

zk1: 2181:2181

zk2: 2182:2181

zk3: 2183:2181

hdp+hb: 50070:50070

hdp+hb: 50071:50070

hdp+hb: none

The Hbase cluster is accessible internally but not from the external network.

It is successful to connect zookeeper cluster with from external network.

Can you tell me whether the mechanism of connecting hbase is connected through the machine name in /etc/hosts? Nat not supported?

Hadoop stuff should not be run in docker, it is to find fault and is not suitable for this scenario.