更改/etc/hosts配置文件
This commit is contained in:
parent
243a69e932
commit
a496a8bebf
@ -44,6 +44,6 @@ COPY start.sh /
|
|||||||
|
|
||||||
RUN chmod 777 /start.sh
|
RUN chmod 777 /start.sh
|
||||||
|
|
||||||
EXPOSE 22 50070 8020 8088 8042
|
EXPOSE 22 50070 8020 8088 8042 8030 8031 8032 8033
|
||||||
|
|
||||||
CMD ["/start.sh"]
|
CMD ["/start.sh"]
|
||||||
|
|||||||
@ -3,4 +3,6 @@
|
|||||||
|
|
||||||
\cp /conf/* /usr/local/$HADOOP_VERSION/etc/hadoop
|
\cp /conf/* /usr/local/$HADOOP_VERSION/etc/hadoop
|
||||||
|
|
||||||
|
echo "127.0.0.1 localhost" > /etc/hosts
|
||||||
|
|
||||||
/usr/sbin/sshd -D
|
/usr/sbin/sshd -D
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user