azure x gcloud 的等效命令
equivalent command for azure x gcloud
我想知道 azure 的等效命令是什么:
cloud auth configure-docker
我正在尝试在 azure kubernetes 中使用 "docker push",但我不能,因为它要求进行身份验证。
我相信az acr login
command should be the equivalent to that. There are different ways to authenticate as documented。
您可能想使用 service principal route but if you using AAD Pod Identity,然后我相信您可以使用托管身份路由,这通常更好,因为服务主体的密码有效期为一年。
我想知道 azure 的等效命令是什么:
cloud auth configure-docker
我正在尝试在 azure kubernetes 中使用 "docker push",但我不能,因为它要求进行身份验证。
我相信az acr login
command should be the equivalent to that. There are different ways to authenticate as documented。
您可能想使用 service principal route but if you using AAD Pod Identity,然后我相信您可以使用托管身份路由,这通常更好,因为服务主体的密码有效期为一年。