Is that possible to get image ID from Docker Registry V2?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: When an image has been pushed to registry V2, does the image ID will be pushed to registry as well? Is that possible to get image ID for a certain repository from V2 registry? 回答1: If the image was pushed with Docker Client 1.10 or above, you can obtain the image ID from the registry with GET /v2/<image>/manifests/<tag> Your request must include the header Accept: application/vnd.docker.distribution.manifest.v2+json In the response, the image ID will be in the Content-Docker-Digest Response header. 回答2: From my research, you can obtain the