-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to create an ACI context in Azure China/Azure Germany account #2775
Comments
Closed the wrong item. |
Looks like ACI is supported in both Germany and China. @karolz-ms do you know what we might need to change to get this working there? Looks like we may at least need to specify a tenant ID? |
Ah, yes, I should have opened an issue about this. When working with clouds other than Azure public cloud, we will need to specify C:\code>docker login azure --help
Log in to azure
Usage:
docker login azure [flags]
Flags:
--client-id string Client ID for Service principal login
--client-secret string Client secret for Service principal login
--cloud-name string Name of a registered Azure cloud
-h, --help Help for azure
--tenant-id string Specify tenant ID to use The list of well-known clouds is defined here https://github.com/docker/compose-cli/blob/main/aci/login/cloud_environment.go#L166 but there might be other clouds than the well-known ones, so we should allow the user to type a name too, in addition to giving them the well-known choices. |
This fix is now released with Docker extension version 1.12.0. |
OS: Win 10
Build Version: 20210312.1
Docker Desktop: 3.2.1 (61626)
Repro Steps:
Expect:
Succeed to create an ACI context.
Actual:
Fail to create an ACI context.
More Info:
This issue also reproduces in Azure Germany account.
The text was updated successfully, but these errors were encountered: