Switch branches/tags
search1.3.0-release search1.3.0-rc3 search1.3.0-rc2 search1.3.0-rc1 search1.2.0-release search1.2.0-rc1 search1.1.0-release search1.1.0-RC6 search1.1.0-RC5 search1.1.0-RC4 search1.1.0-RC3 search1.1.0-RC2 search1.0.0-release search1.0.0-RC3 search1.0.0-RC2 release-cdh3u1 release-cdh3u0 release-4.2.0 release-4.1.0 release-4.0.1 release-4.0.0 release-3.12.0 release-3.11.0 release-3.10.0 release-3.9.0 release-3.8.1 release-3.8.0 release-3.7.1 release-3.7.0 release-3.6.0 release-3.5.0 release-3.0.0 release-2.5.2 release-2.5.1 release-2.5.0 release-2.4.0 release-2.3.0 release-2.2.0 release-2.1.0 release-2.0.1 release-2.0.0-beta release-1.2.0 release-1.1.0 release-1.0.1 release-1.0 release-0.9.1 pre-cdh4-base hue2-compat hue-promoted cdh5.15.0-release cdh5.14.4-release cdh5.14.2-release cdh5.14.0-release cdh5.14.0-rc4 cdh5.14.0-rc3 cdh5.14.0-rc2 cdh5.13.3-release cdh5.13.2-release cdh5.13.2-rc2 cdh5.13.2-rc1 cdh5.13.1-release cdh5.13.1-rc1 cdh5.13.0-release cdh5.13.0-rc5 cdh5.13.0-rc4 cdh5.13.0-rc3 cdh5.13.0-rc2 cdh5.13.0-rc1 cdh5.13.0-csl-20170825 cdh5.12.2-release cdh5.12.2-rc2 cdh5.12.2-rc1 cdh5.12.1-release cdh5.12.1-rc2 cdh5.12.1-rc1 cdh5.12.0-release cdh5.12.0-rc9 cdh5.12.0-rc8 cdh5.12.0-rc7 cdh5.12.0-rc6 cdh5.12.0-rc5 cdh5.12.0-rc4 cdh5.12.0-rc3 cdh5.12.0-rc1 cdh5.12.0-csl-06june2017 cdh5.12.0-cdh5.12.0-csl-30may2017 cdh5.11.2-release cdh5.11.2-rc3 cdh5.11.2-rc2 cdh5.11.2-rc1 cdh5.11.1-release cdh5.11.1-rc4 cdh5.11.1-rc3 cdh5.11.1-rc1 cdh5.11.0-release cdh5.11.0-rc7 cdh5.11.0-rc6 cdh5.11.0-rc5 cdh5.11.0-rc4 cdh5.11.0-rc3
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


alt text

#Welcome to the repository for the Hue Dockerfiles

Hue is an open source Web interface for analyzing data with any Apache Hadoop: gethue.com

Here you can find the Dockerfiles for Hue and Livy, the Spark REST server.

You can catch us on Docker Hub as well.

DockerPulls DockerStars

##Get the docker image

Just pull the latest from the Internet or build it yourself from the Hue repository.

###Pull the image from Docker Hub

sudo docker pull gethue/hue:latest

###Build the image

cd tools/docker/hue-base
sudo docker build --rm -t gethue/hue:latest .

Running the image

docker run -it -p 8888:8888 gethue/hue:latest bash

This opens a bash to the root of the project. From there you can run the development version of Hue with the command

./build/env/bin/hue runserver_plus


Running with docker-compose

cd tools/docker/hue-base
cp docker-compose.yml.sample docker-compose.yml
cp ../../../hue/desktop/conf.dist/hue.ini
docker-compose up -d
docker exec -ti development_hue bash

Hue should then be up and running on your default Docker IP on the port 8888, so usually

Note If does not work, get the IP of the docker container with:

sudo docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                            NAMES
b7950388c1db        gethue/hue:latest   "bash"              10 minutes ago      Up 10 minutes       22/tcp,>8888/tcp   agitated_mccarthy

Then get inet addr, so in our case

sudo docker exec -it b7950388c1db /sbin/ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 02:42:ac:11:00:01
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::42:acff:fe11:1/64 Scope:Link
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10626 (10.6 KB)  TX bytes:648 (648.0 B)

alt text


You can then configure Hue and start using it!

Read more about configuring Hue on our blog. The development version uses the configuration file desktop/conf/pseudo-distributed.ini.