我刚刚制作了我的第一个Docker Image,在Docker中运行pmmp / PocketMine-MP。当我尝试容器时,我收到以下错误:
[root@docker pmmp-docker]# docker run -it -p 19132:19132 -p 19132:19132/udp --name pmmp pmmp
standard_init_linux.go:187: exec user process caused "exec format error"
我也有Dockerfile设置:
FROM debian:latest
RUN apt-get update
RUN apt-get -y install curl git
RUN curl -O https://jenkins.pmmp.io/job/PHP-7.2-Linux-x86_64/lastSuccessfulBuild/artifact/PHP_Linux-x86_64.tar.gz
RUN mkdir -p server
RUN tar xf PHP_Linux-x86_64.tar.gz --directory ./server
RUN curl -O https://jenkins.pmmp.io/job/PocketMine-MP/Development/artifact/PocketMine-MP_1.7dev-615_45b02d92_API-3.0.0-ALPHA10.phar > ./server/PocketMine-MP.phar
RUN curl -O https://raw.githubusercontent.com/pmmp/PocketMine-MP/master/start.sh > ./server/start.sh
RUN chmod +x ./server/start.sh
CMD ["./server/start.sh", "--no-wizard", "--enable-rcon=on"]
我该如何解决这个问题?我很新,如果我已经陷入了失败的困境,请告诉我。