一步一步我有错误
root@icp-master:~/mcm-3.1.1# cloudctl login -a https://swgcluster.icp:8443 -n kube-system --skip-ssl-validation
Username> admin
Password>
Authenticating...
OK
Targeted account swgcluster Account (id-swgcluster-account)
Targeted namespace kube-system
Configuring kubectl ...
Property "clusters.swgcluster" unset.
Property "users.swgcluster-user" unset.
Property "contexts.swgcluster-context" unset.
Cluster "swgcluster" set.
User "swgcluster-user" set.
Context "swgcluster-context" created.
Switched to context "swgcluster-context".
OK
Configuring helm: /root/.helm
OK
root@icp-master:~/mcm-3.1.1# docker login swgcluster.icp:8500
Username (admin): admin
Password:
Login Succeeded
root@icp-master:~/mcm-3.1.1# cloudctl catalog load-ppa-archive -a mcm-3.1.1-amd64.tgz --registry swgcluster.icp:8500
Expanding archive
OK
Importing docker images
Processing image: mcm-compliance:3.1.1
Loading Image
Tagging Image
Pushing image as: swgcluster.icp:8500/mcm-compliance:3.1.1
FAILED
Error during 'docker push swgcluster.icp:8500/mcm-compliance:3.1.1':
The push refers to repository [swgcluster.icp:8500/mcm-compliance]
897913ab6781: Preparing
9151cff5fa59: Preparing
50e922e82331: Preparing
fe5040b266fd: Preparing
df64d3292fd6: Preparing
unauthorized: authentication required
(Are you logged in to the docker registry?)
我在上面踩错了吗?还是出了什么问题?
对不起我的英语
发布于 2019-01-28 07:39:37
在步骤3中修复它,使用命令:
目录加载-ppa-存档swgcluster.icp:8500/kube-system mcm-3.1.1-amd64.tgz -注册表
刚在集群名称和端口之后在专用码头注册中心添加了/kube-system
https://stackoverflow.com/questions/53742272
复制相似问题