From 0de3896f13ec46056aea2d8b19c1e5f23d188f8f Mon Sep 17 00:00:00 2001 From: Richard Kovacs Date: Sat, 16 May 2015 17:18:32 +0200 Subject: [PATCH] Group exposed ports by layer --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1272a8e..f16c931 100644 --- a/Dockerfile +++ b/Dockerfile @@ -99,4 +99,11 @@ RUN service sshd start && $HADOOP_PREFIX/etc/hadoop/hadoop-env.sh && $HADOOP_PRE CMD ["/etc/bootstrap.sh", "-d"] -EXPOSE 50020 50090 50070 50010 50075 8031 8032 8033 8040 8042 49707 2122 8088 8030 19888 +# Hdfs ports +EXPOSE 50010 50020 50070 50075 50090 +# Mapred ports +EXPOSE 19888 +#Yarn ports +EXPOSE 8030 8031 8032 8033 8040 8042 8088 +#Other ports +EXPOSE 49707 2122