Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想专门使用 docker rest api http://{url}/images/{image}/json
http://{url}/images/{image}/json
我在不同的机器上运行相同的 API,但为什么它显示不同的结果?
有没有办法在不首先拉取图像的情况下获取存储库中的所有图像列表?
谢谢
docker api 仅显示特定 docker 主机上的图像。对于远程注册表上的图像,您需要使用注册表 api。
https://docs.docker.com/registry/spec/api/