Comments (6)
@karolz-ms great! that worked now :D
jeanepaul@DESKTOP-T3KIFDC MINGW64 ~
$ docker --context azurecontext ps -a
CONTAINER ID IMAGE COMMAND STATUS PORTS
agitated-lovelace nginx Running 20.195.0.***:80->80/tcp
jeanepaul@DESKTOP-T3KIFDC MINGW64 ~
$ docker context list
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR
azurecontext * aci jp-research-group@southeastasia
default moby Current DOCKER_HOST based configuration npipe:////./pipe/docker_engine https://japaneast.azmk8s.io:443 (default) swarm
thank you!
from cloud-integration-beta.
Thanks for the report @Hokutosei and @karolz-ms for helping out!
Looks like we need some documentation on this, I'll add it to our backlog
from cloud-integration-beta.
@Hokutosei you need to do docker login azure
before docker context create aci xxxx
. Docker CLI does not have access to Azure CLI security tokens; it does not even require Azure CLI to be installed, they are independent.
from cloud-integration-beta.
@karolz-ms thank you for the reply. and I am sorry, I missed copying that log. I already did that, but still no luck 😔
jeanepaul@DESKTOP-T3KIFDC MINGW64 ~
$ docker login azure
login succeeded
jeanepaul@DESKTOP-T3KIFDC MINGW64 ~
$ docker context create aci azurecontext
no subscriptions found
also I tried passing the correct subscription-id
$ docker context create aci azurecontext --subscription-id 86bf3679-****
resources.GroupsClient#List: Failure responding to request: StatusCode=401
-- Original Error: autorest/azure: Service returned an error. Status=401 Code="InvalidAuthenticationTokenTenant" Message="The access token is from the wrong issuer 'https://sts.windows.net/*****/'.
It must match one of the tenants 'https://sts.windows.net/2f4a9838-****/,https://sts.windows.net/c879b447****/' associated with this subscription. Please use any authority (URL) from 'https://login.windows.net/2f4a9838****,https://login.windows.net/c879b447-*****' to get the token.
Note, if the subscription is transferred to another tenant there is no impact to the services, but information about new tenant could take time to propagate (up to an hour). If you just transferred your subscription and see this error message, please try back later."
from cloud-integration-beta.
How about passing --tenant-id
to docker login azure
? See #8
from cloud-integration-beta.
The error message has now been made explicit for this particular case, so you users know they can use --tenant
from cloud-integration-beta.
Related Issues (20)
- How to authenticate with private ACR registry? HOT 6
- Missing support to environment variables HOT 2
- unsupported Compose file version: 2.3 HOT 2
- Docker Login Azure issues HOT 3
- "docker logs --follow" output garbled HOT 4
- Images can't be listed when using an ACI context
- docker login azure @ WSL2: xdg-open executable file not found in $PATH HOT 1
- Support for service principal authentication HOT 5
- Support for Compose v2
- Docker Start/Stop Support
- ACR Auto-login not working in some scenario HOT 11
- How do I build an image when using an ACI context HOT 2
- Add the ability to connect Azure file shares via Docker Compose HOT 2
- WSL2 Azure Login not portable accross various WSL setups HOT 5
- Not able to install the script (install.sh) HOT 2
- Why aren't all the existing Docker commands and flags available with ACI HOT 7
- Cannot map container ports on ACI HOT 2
- Support for Runtime options with Memory, CPUs, and GPUs HOT 2
- Support for Azure account with multiple tenants HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-integration-beta.