Could not acquire image ID or digest following build

Could not acquire image ID or digest following build,第1张

Could not acquire image ID or digest following build

前言

Jenkins构建docker镜像失败


一、检查DockerFile文件

 好傻,少一个空格

二、如果有.dockerignore 文件, 添加一行

dockerignore 文件内容:

*
!target/project_name.jar


经过各种尝试无果,最后发现在.dockerignore 中加入一行解决问题:

*
!target/laputa-upms-biz.jar
!Dockerfile


其含义是不排除Dockerfile
————————————————

原文链接:https://blog.csdn.net/nullpointer2008/article/details/102384049


总结

加油搞

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5695399.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)