Docker remote api pull from Docker hub private registry

前端 未结 2 587
梦谈多话
梦谈多话 2020-12-31 15:59

I\'m trying to pull docker images from a private repository hosted in Docker hub https://registry.hub.docker.com/u/myname/myapp like this using the docker remote API. The do

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-31 16:47

    From this merged docker pull request, it seems that X-Registry-Auth header should be a base-64 encoded json string of the form

    {
      'username': string,
      'password': string,
      'email': string,
      'serverddress' : string
    }
    

    another reference link

提交回复
热议问题