Reply
New Contributor
Posts: 1
Registered: ‎06-07-2018

Resolve quickstart.cloudera to host IP in docker

[ Edited ]

Hi folks,

I have a host machine (10.8.36.28) running a cloudera quickstart docker images. 

I want to access Hue from another machine via 10.8.36.28:8888. 

 

In the docker container, the ip 172.17.0.2. I understand I may need to change some parts in /etc/hosts or/ and /etc/init.d/cloudera-quickstart-init in the container,  but not sure what should be changed exactly.

 

Any advice? Thanks!

New Contributor
Posts: 2
Registered: ‎12-19-2017

Re: Resolve quickstart.cloudera to host IP in docker

[ Edited ]

Hi, I also use Quick start with Docker and have some issues.

Seems like you need to specify ports mapping when you start a docker.

 

I start docker with this command, which also have a port mapping for cloudera manager (i.e. 7180):

 

$ sudo docker run --hostname=quickstart.cloudera \
--restart unless-stopped \
--privileged=true -dti \
-p 8888:8888 -p 80:80 \
-p 7180:7180 \
cloudera/quickstart \
/usr/bin/docker-quickstart

 

 

https://stackoverflow.com/questions/34388489/accessing-hue-on-cloudera-docker-quickstart

 

Announcements