Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Resolve quickstart.cloudera to host IP in docker

avatar
New Contributor

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!

1 REPLY 1

avatar
New Contributor

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