Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

镜像服务CreateRepo不能创建镜像 #397

Open
shaohean opened this issue Dec 6, 2021 · 0 comments
Open

镜像服务CreateRepo不能创建镜像 #397

shaohean opened this issue Dec 6, 2021 · 0 comments

Comments

@shaohean
Copy link

shaohean commented Dec 6, 2021

命令格式:
aliyun cr CreateRepo

执行命令:
aliyun help cr CreateRepo
输出:
Alibaba Cloud Command Line Interface Version 3.0.100

Product: cr (Container Registry)
Method: PUT
PathPattern: /repos

Parameters:

执行命令:
aliyun cr --endpoint cr.xx.xx.xx.com.cn CreateRepo
输出:
ERROR: SDK.ServerError
ErrorCode:
Recommend:
RequestId:
Message: {"code":"REQUEST_BODY_FORMAT_INVALID","message":"Request body format is not correct"}

执行命令:
aliyun cr --endpoint cr.xx.xx.xx.com.cn CreateRepo --RepoNamespace xysc --RepoName test001 --Summary test001 --Detail test001 --RepoType PRIVATE
输出:
ERROR: '--RepoNamespace' is not a valid parameter or flag.see 'aliyun help cr CreateRepo'

@shaohean shaohean changed the title CreateRepo不能创建镜像 镜像服务CreateRepo不能创建镜像 Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant