This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.3.5.7.2. 添加 registry
要添加 registry,请运行以下命令:
odo registry add
$ odo registry add
输出示例:
odo registry add StageRegistry https://registry.stage.devfile.io
$ 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>
$ odo registry add MyRegistry https://myregistry.example.com --token <access_token>
New registry successfully added