简体   繁体   English

使用 K3s 时如何从 Azure Container Registry 中拉取镜像?

[英]How to pull images from Azure Container Registry when using K3s?

In production we use Azure Container Registry and AKS.在生产中,我们使用 Azure 容器注册表和 AKS。 For development, we have K3s on our dev server (on-prem).对于开发,我们的开发服务器(本地)上有 K3。 Is it possible for K3s to pull images from a private registry such as Azure Container Registry? K3s 是否可以从私有 registry(例如 Azure Container Registry)中拉取镜像?

The short answer is Yes, even if the Azure Container Registry is a private registry, but if you have the username and password with the right permissions, then you can pull the image in it via the username and password.简短的回答是肯定的,即使 Azure 容器注册表是私有注册表,但是如果您拥有具有正确权限的用户名和密码,那么您可以通过用户名和密码将图像拉入其中。 You can take a look at the steps in Azure Container Registry authentication with service principals .您可以查看Azure Container Registry authentication with service principals中的步骤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure 服务主体从容器注册表中拉取映像 - Azure Service Principal pull images from Container Registry 将镜像从 Azure 容器注册表拉取到 Kubernetes 集群 - Pull images from an Azure container registry to a Kubernetes cluster 如何从Docker注册表中提取容器映像以部署Azure容器 - How to pull container image from docker registry to deploy azure container 使用 Az CLI 创建新的 Azure 容器实例时,无法从私有 Azure 容器注册表中提取映像 - Can't pull image from private Azure Container Registry when using Az CLI to create a new Azure Container Instance 如何使用 Terraform 从 azure 容器注册表中提取和部署 docker 映像? - How to pull and deploy a docker image from azure container registry using Terraform? 无法从 Azure 容器注册表中提取映像 - Unable to pull image from Azure Container Registry 无法从Azure容器注册表中提取图像-拒绝提取 - Can't pull image from Azure Container Registry - pull denied WSL-无法登录或从Azure容器注册表中提取图像 - WSL - Can't login or pull image from an azure container registry 如何从 Azure 容器注册表(站点到站点连接)中提取 Ubuntu 服务器中的 docker 映像? - How to pull docker image in Ubuntu Server from Azure Container Registry (Site to site connection)? 如何从 Azure 容器注册表中删除映像 - How to delete image from Azure Container Registry
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM