Docker远程APIlogin到registry

我正在寻找dockerlogin的文档,我需要login到registry来拖动docker图像,我需要使用docker远程API远程执行它。

但不幸的是,我无法finddocker远程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

确保您的registry运行在SSL代理/终止之后,否则会遇到安全问题。 考虑阅读这个案例https://docs.docker.com/registry/insecure/