Using Docker API to push to private registry

流过昼夜 提交于 2019-12-06 15:33:15

The tag needs to be as a parameter and not within the url:

/images/<imageName>/push?tag=<tadName>

Note that you will also need the X-Registry-Auth header.

a working example:

curl -X POST -H "X-Registry-Auth:787f5fe5195c40ef924ac8d67948e15a" http://172.19.32.116:8833/images/172.19.32.116:5000/test7/push
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!