我正在寻找docker登录的文档,我需要登录到注册表以提取docker映像,并且需要使用docker远程API进行远程操作。
但不幸的是,我找不到docker remote API文档,任何帮助将不胜感激。
API文档: https : //docs.docker.com/engine/reference/api/docker_remote_api_v1.19/
提前致谢。 萨拉斯·克里希南(Sarath Krishnan)
你去
docker login your.domain.to.the.registr.without.protocol.or.port
enter username
enter password
现在您可以使用docker pull your.domain.to.the.registr.without.protocol.or.port/youimage
来拉您的docker pull your.domain.to.the.registr.without.protocol.or.port/youimage
确保您的注册表在SSL代理/终止之后运行,否则会遇到安全问题。 在这种情况下, 请考虑阅读此内容https://docs.docker.com/registry/insecure/