首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在ICP 3.1.1上安装MCM (多云管理器) 3.1.1时出错

在ICP 3.1.1上安装MCM (多云管理器) 3.1.1时出错
EN

Stack Overflow用户
提问于 2018-12-12 11:41:39
回答 1查看 126关注 0票数 0

一步一步我有错误

  1. 登录cloudctl如下所示:
代码语言:javascript
运行
复制
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
  1. 在登录码头之后:
代码语言:javascript
运行
复制
root@icp-master:~/mcm-3.1.1# docker login swgcluster.icp:8500
Username (admin): admin
Password:
Login Succeeded
  1. Error当加载PPA存档时,收到消息“(您登录到码头注册表了吗?)”:
代码语言:javascript
运行
复制
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?)

我在上面踩错了吗?还是出了什么问题?

对不起我的英语

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-01-28 07:39:37

在步骤3中修复它,使用命令:

目录加载-ppa-存档swgcluster.icp:8500/kube-system mcm-3.1.1-amd64.tgz -注册表

刚在集群名称和端口之后在专用码头注册中心添加了/kube-system

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53742272

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档