diff --git a/README.md b/README.md index 5ce09d7..25958ae 100644 --- a/README.md +++ b/README.md @@ -25,5 +25,5 @@ Hadoop namenode listens on hdfs://namenode:8020 -To use access the namenode from another container link it using "--link namenode:namenode" and then use the afformentioned URL. -More info on how to access it using docker network coming soon. \ No newline at end of file +To access the namenode from another container link it using "--link namenode:namenode" and then use the afformentioned URL. +More info on how to access it using docker network coming soon. diff --git a/hadoop-namenode/Dockerfile b/hadoop-namenode/Dockerfile new file mode 100644 index 0000000..cd215c7 --- /dev/null +++ b/hadoop-namenode/Dockerfile @@ -0,0 +1,5 @@ +FROM bde2020/hadoop-base + +MAINTAINER Yiannis Mouchakis + +CMD hdfs namenode -format -nonInteractive & hdfs namenode \ No newline at end of file