使用 curl 或 wget 从 artifactory 下载 docker 图片?
Download docker image from artifactory using curl or wget..?
我们有没有 option/way 使用 wget 或 curl 下载 docker 图像。
我的 docker 图片出现在 Jfrog artifactory 中。
首先,对 Artifactory 存储库的任何 curl 命令都需要您帐户的 API 密钥。参见“How to use docker registry API with Artifactory Docker Repository when not using docker client?”
you can use the following header: "X-JFrog-Art-Api" and pass the API key of the user to authenticate. The API key of the user can be retrieved from the "User Profile" page in Artifactory. Artifactory REST API supports three forms of authentication and you can use any one of them with the docker repository
其次,下载图像并非易事(因为您需要获取所有图层)。
您可能有机会调整 moby contrib 脚本 download-frozen-image-v2.sh
或尝试docker-registry-debug
which will print a curl command for fetching the layer, as explained here。
我们有没有 option/way 使用 wget 或 curl 下载 docker 图像。 我的 docker 图片出现在 Jfrog artifactory 中。
首先,对 Artifactory 存储库的任何 curl 命令都需要您帐户的 API 密钥。参见“How to use docker registry API with Artifactory Docker Repository when not using docker client?”
you can use the following header: "X-JFrog-Art-Api" and pass the API key of the user to authenticate. The API key of the user can be retrieved from the "User Profile" page in Artifactory. Artifactory REST API supports three forms of authentication and you can use any one of them with the docker repository
其次,下载图像并非易事(因为您需要获取所有图层)。
您可能有机会调整 moby contrib 脚本 download-frozen-image-v2.sh
或尝试docker-registry-debug
which will print a curl command for fetching the layer, as explained here。