Find file
Fetching contributors…
Cannot retrieve contributors at this time
83 lines (59 sloc) 2.87 KB

alt text

Welcome to the repository for the Hue Dockerfiles

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

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.