Merge pull request #46 from Azure/doyou/login

Add acr login to FAQ
This commit is contained in:
Sajay Antony 2017-06-20 13:11:28 -10:00 коммит произвёл GitHub
Родитель ef9922c33d f7db330ad2
Коммит 61862bfd10
1 изменённых файлов: 17 добавлений и 0 удалений

Просмотреть файл

@ -66,3 +66,20 @@ Your can find `myStorageAccount` to your registry by the following command
```
az acr show -n myRegistry --query storageAccount.name
```
## How to log into my registry when running the CLI in a container?
You need to run the CLI container by mounting the Docker socket
```
docker run -it -v /var/run/docker.sock:/var/run/docker.sock azuresdk/azure-cli-python
```
In the container, you can install `docker` by
```
apk add docker
```
Then you can log into your registry by
```
az acr login -n MyRegistry
```