Skip to content

Commit 9755973

Browse files
authored
Merge pull request #108329 from dlepow/acrfix3
[ACR] Anonymous pull
2 parents 542ff91 + 7c05648 commit 9755973

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

articles/container-registry/container-registry-faq.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Frequently asked questions
33
description: Answers for frequently asked questions related to the Azure Container Registry service
44
author: sajayantony
55
ms.topic: article
6-
ms.date: 07/02/2019
6+
ms.date: 03/18/2020
77
ms.author: sajaya
88
---
99

@@ -99,7 +99,8 @@ It takes some time to propagate firewall rule changes. After you change firewall
9999
- [How to enable TLS 1.2?](#how-to-enable-tls-12)
100100
- [Does Azure Container Registry support Content Trust?](#does-azure-container-registry-support-content-trust)
101101
- [How do I grant access to pull or push images without permission to manage the registry resource?](#how-do-i-grant-access-to-pull-or-push-images-without-permission-to-manage-the-registry-resource)
102-
- [How do I enable automatic image quarantine for a registry](#how-do-i-enable-automatic-image-quarantine-for-a-registry)
102+
- [How do I enable automatic image quarantine for a registry?](#how-do-i-enable-automatic-image-quarantine-for-a-registry)
103+
- [How do I enable anonymous pull access?](#how-do-i-enable-anonymous-pull-access)
103104

104105
### How do I access Docker Registry HTTP API V2?
105106

@@ -247,13 +248,18 @@ With the use of only the `AcrPull` or `AcrPush` role, the assignee doesn't have
247248

248249
Image quarantine is currently a preview feature of ACR. You can enable the quarantine mode of a registry so that only those images which have successfully passed security scan are visible to normal users. For details, see the [ACR GitHub repo](https://github.com/Azure/acr/tree/master/docs/preview/quarantine).
249250

251+
### How do I enable anonymous pull access?
252+
253+
Setting up an Azure container registry for anonymous (public) pull access is currently a preview feature. To enable public access, please open a support ticket at https://aka.ms/acr/support/create-ticket. For details, see the [Azure Feedback Forum](https://feedback.azure.com/forums/903958-azure-container-registry/suggestions/32517127-enable-anonymous-access-to-registries).
254+
255+
250256
## Diagnostics and health checks
251257

252258
- [Check health with `az acr check-health`](#check-health-with-az-acr-check-health)
253259
- [docker pull fails with error: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)](#docker-pull-fails-with-error-nethttp-request-canceled-while-waiting-for-connection-clienttimeout-exceeded-while-awaiting-headers)
254260
- [docker push succeeds but docker pull fails with error: unauthorized: authentication required](#docker-push-succeeds-but-docker-pull-fails-with-error-unauthorized-authentication-required)
255261
- [`az acr login` succeeds, but docker commands fails with error: unauthorized: authentication required](#az-acr-login-succeeds-but-docker-fails-with-error-unauthorized-authentication-required)
256-
- [Enable and get the debug logs of the docker daemon](#enable-and-get-the-debug-logs-of-the-docker-daemon)
262+
- [Enable and get the debug logs of the docker daemon](#enable-and-get-the-debug-logs-of-the-docker-daemon)
257263
- [New user permissions may not be effective immediately after updating](#new-user-permissions-may-not-be-effective-immediately-after-updating)
258264
- [Authentication information is not given in the correct format on direct REST API calls](#authentication-information-is-not-given-in-the-correct-format-on-direct-rest-api-calls)
259265
- [Why does the Azure portal not list all my repositories or tags?](#why-does-the-azure-portal-not-list-all-my-repositories-or-tags)
@@ -319,13 +325,13 @@ Details of `--signature-verification` can be found by running `man dockerd`.
319325

320326
Make sure you use an all lowercase server URL, for example, `docker push myregistry.azurecr.io/myimage:latest`, even if the registry resource name is uppercase or mixed case, like `myRegistry`.
321327

322-
### Enable and get the debug logs of the Docker daemon
328+
### Enable and get the debug logs of the Docker daemon
323329

324330
Start `dockerd` with the `debug` option. First, create the Docker daemon configuration file (`/etc/docker/daemon.json`) if it doesn't exist, and add the `debug` option:
325331

326332
```json
327-
{
328-
"debug": true
333+
{
334+
"debug": true
329335
}
330336
```
331337

@@ -335,12 +341,12 @@ Then, restart the daemon. For example, with Ubuntu 14.04:
335341
sudo service docker restart
336342
```
337343

338-
Details can be found in the [Docker documentation](https://docs.docker.com/engine/admin/#enable-debugging).
344+
Details can be found in the [Docker documentation](https://docs.docker.com/engine/admin/#enable-debugging).
339345

340-
* The logs may be generated at different locations, depending on your system. For example, for Ubuntu 14.04, it's `/var/log/upstart/docker.log`.
341-
See [Docker documentation](https://docs.docker.com/engine/admin/#read-the-logs) for details.
346+
* The logs may be generated at different locations, depending on your system. For example, for Ubuntu 14.04, it's `/var/log/upstart/docker.log`.
347+
See [Docker documentation](https://docs.docker.com/engine/admin/#read-the-logs) for details.
342348

343-
* For Docker for Windows, the logs are generated under %LOCALAPPDATA%/docker/. However it may not contain all the debug information yet.
349+
* For Docker for Windows, the logs are generated under %LOCALAPPDATA%/docker/. However it may not contain all the debug information yet.
344350

345351
In order to access the full daemon log, you may need some extra steps:
346352

articles/container-registry/container-registry-repository-scoped-permissions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Scenarios for creating a token include:
2222

2323
* This feature is only available in a **Premium** container registry. For information about registry service tiers and limits, see [Azure Container Registry SKUs](container-registry-skus.md).
2424
* You can't currently assign repository-scoped permissions to an Azure Active Directory identity, such as a service principal or managed identity.
25+
* You can't create a scope map in a registry enabled for [anonymous pull access](container-registry-faq.md#how-do-i-enable-anonymous-pull-access).
2526

2627
## Concepts
2728

0 commit comments

Comments
 (0)