apache-doris:2.0.15.1-fe,使用docker-desktop启动失败

Viewed 17

init_fe.sh

init_fe.sh是github下载的。

dockerfile

FROM openjdk:8u342-jdk

ENV JAVA_HOME="/usr/local/openjdk-8/"
PATH="/opt/apache-doris/fe/bin:$PATH"

ADD ./resource/apache-doris-2.0.15.1-bin-x64-noavx2.tar.gz /opt/

RUN apt-get update &&
apt-get install -y default-mysql-client &&
apt-get clean &&
mkdir /opt/apache-doris &&
cd /opt &&
mv apache-doris-2.0.15.1-bin-x64-noavx2/fe /opt/apache-doris/

ADD ./resource/init_fe.sh /opt/apache-doris/fe/bin
RUN chmod 755 /opt/apache-doris/fe/bin/init_fe.sh

ENTRYPOINT ["/opt/apache-doris/fe/bin/init_fe.sh"]

镜像构建

docker build . -t apache-doris:2.0.15.1-fe

容器启动

docker run --privileged -itd --name=fe --env FE_SERVERS="fe1:192.168.1.38:9010" --env FE_ID=1 -p 8030:8030 -p 9030:9030 -v D:\Doris\docker-build\data\fe\doris-meta:/opt/apache-doris/fe/doris-meta -v D:\Doris\docker-build\data\fe\log:/opt/apache-doris/fe/log --net=host apache-doris:2.0.15.1-fe

image.png

没有报错信息容器直接失败退出,麻烦有经验的同学帮忙解答,感谢

0 Answers