3.5.7.2. 添加 registry
要添加 registry,请运行以下命令:
$ odo registry add
输出示例:
$ odo registry add StageRegistry https://registry.stage.devfile.io New registry successfully added
如果要部署自己的安全 Registry,您可以指定个人访问令牌来使用 --token
标志向安全 registry 进行身份验证:
$ odo registry add MyRegistry https://myregistry.example.com --token <access_token> New registry successfully added