Open liujazz opened 1 year ago
部署环境:CentOS7.9安装 1Panel 面板(Ubuntu 22.04 也测试过) 过程:Git 到 /root 目录下,通过 1Panel 下的容器-编排-创建编排-路径选择/root/eiam/docker-compose-standalone.yml或者/root/eiam/docker-compose.yml均报错。 /root/eiam/docker-compose-standalone.yml拉取日志为:
/root/eiam/docker-compose-standalone.yml
/root/eiam/docker-compose.yml
eiam-portal Pulling eiam-console Pulling eiam-openapi Pulling eiam-synchronizer Pulling eiam-console Warning eiam-synchronizer Warning eiam-openapi Warning eiam-portal Warning #1 [eiam-synchronizer internal] load build definition from Dockerfile #1 transferring dockerfile: 1.95kB done #1 WARN: Empty continuation line found in: RUN sed -i 's/archive.ubuntu.com/cn.archive.ubuntu.com/g' /etc/apt/sources.list && apt-get update && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && apt-get install tzdata && apt-get clean && apt-get autoclean && apt-get autoremove && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* EXPOSE 1986 #1 DONE 0.0s #2 [eiam-console internal] load .dockerignore #2 transferring context: 2B done #2 DONE 0.0s #3 [eiam-synchronizer internal] load .dockerignore #3 transferring context: 2B done #3 DONE 0.0s #4 [eiam-console internal] load build definition from Dockerfile #4 transferring dockerfile: 1.94kB done #4 WARN: Empty continuation line found in: RUN sed -i 's/archive.ubuntu.com/cn.archive.ubuntu.com/g' /etc/apt/sources.list && apt-get update && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && apt-get install tzdata && apt-get clean && apt-get autoclean && apt-get autoremove && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* EXPOSE 1898 #4 DONE 0.0s #5 [eiam-portal internal] load .dockerignore #5 transferring context: 2B done #5 DONE 0.0s #6 [eiam-portal internal] load build definition from Dockerfile #6 transferring dockerfile: 1.94kB done #6 WARN: Empty continuation line found in: RUN sed -i 's/archive.ubuntu.com/cn.archive.ubuntu.com/g' /etc/apt/sources.list && apt-get update && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && apt-get install tzdata && apt-get clean && apt-get autoclean && apt-get autoremove && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* EXPOSE 1989 #6 DONE 0.0s #7 [eiam-openapi internal] load .dockerignore #7 transferring context: 2B done #7 DONE 0.0s #8 [eiam-openapi internal] load build definition from Dockerfile #8 transferring dockerfile: 1.94kB done #8 WARN: Empty continuation line found in: RUN sed -i 's/archive.ubuntu.com/cn.archive.ubuntu.com/g' /etc/apt/sources.list && apt-get update && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && apt-get install tzdata && apt-get clean && apt-get autoclean && apt-get autoremove && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* EXPOSE 1988 #8 DONE 0.0s #9 [eiam-synchronizer internal] load metadata for docker.io/azul/zulu-openjdk:17-jre #9 DONE 2.2s #10 [eiam-synchronizer build 1/4] FROM docker.io/azul/zulu-openjdk:17-jre@sha256:9a665888712b020ce3eaea966d92db97d3168b3808dd7a0f6e6620ebd967c60a #10 DONE 0.0s #11 [eiam-synchronizer build 2/4] WORKDIR /workspace/app #11 CACHED #12 [eiam-console internal] load build context #12 transferring context: 68B 0.1s done #12 DONE 0.1s #13 [eiam-synchronizer internal] load build context #13 transferring context: 68B 0.1s done #13 DONE 0.1s #14 [eiam-synchronizer stage-1 2/8] COPY docker/entrypoint.sh / #14 CACHED #15 [eiam-synchronizer stage-1 3/8] WORKDIR topiam #15 CACHED #16 [eiam-openapi internal] load build context #16 transferring context: 68B 0.1s done #16 DONE 0.1s #17 [eiam-openapi stage-1 2/8] WORKDIR topiam #17 CACHED #18 [eiam-openapi stage-1 3/8] COPY docker/entrypoint.sh / #18 CACHED #19 [eiam-portal internal] load build context #19 transferring context: 68B 0.1s done #19 DONE 0.1s #20 [eiam-openapi build 3/4] COPY eiam-openapi/target/topiam-employee-openapi-*.jar target/application.jar #20 ERROR: lstat /var/lib/docker/tmp/buildkit-mount3910241979/eiam-openapi/target: no such file or directory #21 [eiam-portal build 3/4] COPY eiam-portal/target/topiam-employee-portal-*.jar target/application.jar #21 ERROR: lstat /var/lib/docker/tmp/buildkit-mount2795633630/eiam-portal/target: no such file or directory #22 [eiam-console build 3/4] COPY eiam-console/target/topiam-employee-console-*.jar target/application.jar #22 ERROR: lstat /var/lib/docker/tmp/buildkit-mount3206388296/eiam-console/target: no such file or directory #23 [eiam-synchronizer build 3/4] COPY eiam-synchronizer/target/topiam-employee-synchronizer-*.jar target/application.jar #23 ERROR: lstat /var/lib/docker/tmp/buildkit-mount860146889/eiam-synchronizer/target: no such file or directory ------ > [eiam-openapi build 3/4] COPY eiam-openapi/target/topiam-employee-openapi-*.jar target/application.jar: ------ ------ > [eiam-synchronizer build 3/4] COPY eiam-synchronizer/target/topiam-employee-synchronizer-*.jar target/application.jar: ------ ------ > [eiam-portal build 3/4] COPY eiam-portal/target/topiam-employee-portal-*.jar target/application.jar: ------ ------ > [eiam-console build 3/4] COPY eiam-console/target/topiam-employee-console-*.jar target/application.jar: ------ failed to solve: lstat /var/lib/docker/tmp/buildkit-mount3910241979/eiam-openapi/target: no such file or directory docker-compose up failed!]
/root/eiam/docker-compose.yml拉取日志为:
eiam-synchronizer Pulling eiam-console Pulling eiam-openapi Pulling eiam-portal Pulling eiam-synchronizer Warning eiam-openapi Warning eiam-console Warning eiam-portal Warning #1 [eiam-console internal] load .dockerignore #1 transferring context: 2B done #1 DONE 0.0s #2 [eiam-console internal] load build definition from Dockerfile #2 transferring dockerfile: 2B done #2 DONE 0.0s #3 [eiam-portal internal] load .dockerignore #3 transferring context: 2B done #3 DONE 0.0s #4 [eiam-portal internal] load build definition from Dockerfile #4 transferring dockerfile: 2B done #4 DONE 0.0s failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount3284487838/Dockerfile: no such file or directory docker-compose up failed!
麻烦帮看下是什么原因
部署环境:CentOS7.9安装 1Panel 面板(Ubuntu 22.04 也测试过) 过程:Git 到 /root 目录下,通过 1Panel 下的容器-编排-创建编排-路径选择
/root/eiam/docker-compose-standalone.yml
或者/root/eiam/docker-compose.yml
均报错。 /root/eiam/docker-compose-standalone.yml拉取日志为:/root/eiam/docker-compose.yml拉取日志为:
麻烦帮看下是什么原因