"Sending build context to Docker daemon 115.5MB\nError response from daemon: Dockerfile parse error line 1: unknown instruction: M\nbuild image finshed\nThe push refers to repository [registry.paas/cmss/glaucus-service]\nAn image does not exist locally with the tag: registry.paas/cmss/glaucus-service\npush image finshed\nError response from daemon: reference does not exist\nsave image finshed\n这段信息指出了几个错误:\n\n1. 在构建 Docker 镜像时,出现了一个解析错误,错误发生在 Dockerfile 的第一行,原因是出现了一个未知的指令 "M"。\n\n2. 构建镜像完成后,尝试将其推送到 registry.paas/cmss/glaucus-service 仓库时,出现了一个错误,错误信息是 "An image does not exist locally with the tag: registry.paas/cmss/glaucus-service",说明本地不存在带有该标签的镜像。\n\n3. 另外一个错误是,尝试从 Docker 守护程序中保存镜像时,出现了一个错误,错误信息是 "reference does not exist",可能是指定的镜像引用不存在。\n\n总结:这段信息指出了构建、推送和保存 Docker 镜像时遇到的几个错误,包括 Dockerfile 解析错误、缺少本地镜像和指定的镜像引用不存在。

Docker 镜像构建、推送和保存错误解析

原文地址: https://www.cveoy.top/t/topic/qkPm 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录