我可以通過以下方式查看我的 docker 注冊表
curl -X GET "https://mylogin:[email protected]:myport/v2/_catalog"
或者
curl -X GET "https://mylogin:[email protected]:myport/v2/myimage/manifests/latest"
但是如果我啟動容器
sudo docker run -it https://mylogin:[email protected]:myport/myimage:latest
我收到錯誤
docker: invalid reference format
uj5u.com熱心網友回復:
https://mylogin:[email protected]:myport/myimage:latest
要登錄到您的注冊表服務器,首先運行:
docker login myregistry.mydomain.io
然后使用以下命令拉取影像:
docker pull myregistry.mydomain.io:myport/myimage:latest
您提取的影像名稱中應該沒有https://或用戶憑據。
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/510487.html
標籤:码头工人ubuntu
