besn0847/hdfs
Contains Namenode and Datanode from the Standalone HDFS distribution.
260
Container built with Standalone HDFS 1.0.0 (source | distrib).
Simply start the container with :
docker run -d -P besn0847/hdfs
Use docker ps to see the port redirections (22, 26411, 26412, 26416) and point your browser to the relevant url (see below).
franck@msi75:~/Sandbox/Docker/standalone-hdfs$ docker run -d -P besn0847/hdfs
56253e8c33e90ad050d4d04561f377fe3be9f40dd380d222c782b92ec3f20088
franck@msi75:~/Sandbox/Docker/standalone-hdfs$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
56253e8c33e9 besn0847/hdfs:latest /bin/sh -c /opt/stan 3 seconds ago Up 3 seconds 0.0.0.0:49174->22/tcp, 0.0.0.0:49175->26411/tcp, 0.0.0.0:49176->26412/tcp, 0.0.0.0:49177->26416/tcp lonely_darwin
To log via SSH, the default password is 'password' and use the following command :
ssh root@127.0.0.1 -p <ssh_redirect>
Dockerfile used to build the latest container :
FROM besn0847/hdfs:base
MAINTAINER Franck Besnard <franck@besnard.mobi>
RUN /opt/standalone-hdfs-1.0.0/namenode/bin/hadoop namenode -format
EXPOSE 22 26411 26412 26416
CMD /opt/standalone-hdfs-1.0.0/namenode/bin/start-namenode.sh && /opt/standalone-hdfs-1.0.0/datanode/bin/start-datanode.sh && /usr/sbin/sshd -D
- Access to HDFS Ajax Explorer
- Access to HDFS Console
- Access to HDFS Datanode Browser
docker pull besn0847/hdfs