- 云托管构建镜像失败如何解决?
云托管构建镜像报了以下错误: "appid": "wx46706216065a2a3e", Successfully assigned default/dati-003-7d5fbf9678-7pnsx to cls-63mowthz-virtual-kubelet-subnet-reelxo7r-0; pod sandbox started; Pulling image "ccr.ccs.tencentyun.com/tcb-100017716859-ixyq/test-6gubl9pe1fbc6d98_dati:dati-003-1615474320"; Successfully pulled image "ccr.ccs.tencentyun.com/tcb-100017716859-ixyq/test-6gubl9pe1fbc6d98_dati:dati-003-1615474320"; Error: failed to create containerd container: runAsUser does not support username. Please set runAsUser to uid; Sync volumes; Container image "ccr.ccs.tencentyun.com/tcb-100017716859-ixyq/test-6gubl9pe1fbc6d98_dati:dati-003-1615474320" already present on machine; Successfully assigned default/dati-003-775c594c7f-dgmps to cls-63mowthz-virtual-kubelet-subnet-44aga3dn-0; pod sandbox started; Pulling image "ccr.ccs.tencentyun.com/tcb-100017716859-ixyq/test-6gubl9pe1fbc6d98_dati:dati-003-1615474320"; Successfully pulled image "ccr.ccs.tencentyun.com/tcb-100017716859-ixyq/test-6gubl9pe1fbc6d98_dati:dati-003-1615474320"; Error: failed to create containerd container: runAsUser does not support username. Please set runAsUser to uid; Sync volumes; Container image "ccr.ccs.tencentyun.com/tcb-100017716859-ixyq/test-6gubl9pe1fbc6d98_dati:dati-003-1615474320" already present on machine;
2021-03-11 - 云托管镜像构建问题,一直构建失败如何解决?
From docker.io/codenvy/jdk8_maven3_tomcat8 WORKDIR /home/user RUN git clone https://***:***@gitee.com/***/dati.git RUN cd dati/ RUN mvn clean package RUN rm -rf /home/user/tomcat8/webapps/* RUN cp target/dati.war /home/user/tomcat8/webapps/ CMD ["bin/catalina.sh","run"] 上面是dockerfile [图片]
2021-03-11