Docker:生成失败,错误为未知父映像ID

Docker:生成失败,错误为未知父映像ID,docker,jenkins,docker-compose,dockerfile,Docker,Jenkins,Docker Compose,Dockerfile,我面临间歇性的构建作业失败,错误如下 [0munknown parent image ID sha256:478c35b0xxxxxxxxxxxxxxx Build step 'Execute shell' marked build as failure 如果您有一个名为none的图像,则需要删除该图像并重建容器。这就是我解决问题的原因。我在构建docker形象时也有同样的顾虑。我收到的错误消息如下: [Docker] ERROR: Failed to create docker image:

我面临间歇性的构建作业失败,错误如下

[0munknown parent image ID sha256:478c35b0xxxxxxxxxxxxxxx
Build step 'Execute shell' marked build as failure

如果您有一个名为
none
的图像,则需要删除该图像并重建容器。这就是我解决问题的原因。

我在构建docker形象时也有同样的顾虑。我收到的错误消息如下:

[Docker] ERROR: Failed to create docker image: Could not build image: unknown parent image ID sha256:cc0b3bd844b13a2ebfc6915019a8194538f2d0b41e420b76a20702e985e2a298
ERROR: Build step failed with exception
com.github.dockerjava.api.exception.DockerClientException: Could not build image: unknown parent image ID sha256:cc0b3bd844b13a2ebfc6915019a8194538f2d0b41e420b76a20702e985e2a298
对我来说,成功的只是再次尝试重建图像,效果很好

就这些


我希望这有助于考虑添加更多细节。你想做什么,你是怎么做到的?我在谈论詹金斯,这似乎是不确定的。我的命令是docker build--rm--tag foo:bar。你能用命令docker image lsComment代表Craft发送你看到的docker image ls吗?你能发送你看到的docker image ls吗?请只在评论中要求澄清。我一点也不清楚为什么这样做,但它确实解决了我的问题。谢谢