第 2 章 安装 .NET 镜像流
要安装 .NET 镜像流,请使用带有 OpenShift Client (oc
)二进制文件的 s2i-dotnetcore 中的镜像流定义。镜像流可以从 Linux、Mac 和 Windows 安装。
您可以在全局 openshift
命名空间中或本地定义 .NET 镜像流。更新 openshift
命名空间定义需要足够的权限。
流程
安装(或更新镜像流):
$ oc apply [-n namespace] -f https://raw.githubusercontent.com/redhat-developer/s2i-dotnetcore/main/dotnet_imagestreams.json