Docker scripts in this directory spawns a CentOS 6 docker VM and installs all the CDH components (Hadoop, Spark, Hbase, Hive, Impala, Hue, Zookeeper, Oozie etc.).
docker build -t docker-cdh54 .
docker run -v /root/docker:/root -p 8042:8042 -p 8088:8088 -p 8020:8020 -p 8888:8888 -p 11000:11000 -p 11443:11443 -p 9090:9090 -d -ti --privileged=true docker-cdh54
Wait a little as the build can take several minute to download each image and packages to rebuild CDH.
docker ps
the command return the list of Containers. Select the Container ID matching the CDH container that was started. => 922ac2f47d93 ... or any similar Container Id
docker attach 922ac2f47d93