dajobe / hbase-docker

HBase running in Docker
https://hub.docker.com/r/dajobe/hbase/
328 stars 189 forks source link

No need for changing hosts file + expose ports on run command #23

Open jonatasbaldin opened 6 years ago

jonatasbaldin commented 6 years ago

As specified in the HBase Book, since version hbase-0.96.0 there's no need to change the /etc/hosts file.

Also, to access the the container ports from your machine, you should expose the ports to the host. This can be done in two ways:

I got it working skipping the /etc/hosts configuration and running the command above.

What do you think?