Skip to content

Commit 7799a94

Browse files
edits for the cross tenant
1 parent 323c978 commit 7799a94

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/container-registry/container-registry-import-images.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ Import-AzContainerRegistryImage -RegistryName myregistry -ResourceGroupName myRe
300300

301301
### Cross-tenant import with access token
302302

303+
* Cross tenant for image transfer is possible even if the source registry has public access disabled. However, you need to use the resource ID of the source registry for authentication purposes. you cannot use both resource ID and login server together for cross-tenant transfers. The only way to achieve this is by specifying the IP range of the ACR service tag in the source registry's firewall.
304+
305+
* Cross-tenant doesn't work across the clouds. Cross-tenant import over private endpoints is also not supported.
306+
303307
To access the source registry using an identity in the source tenant that has registry permissions, you can get an access token:
304308

305309
### [Azure CLI](#tab/azure-cli)
@@ -340,10 +344,6 @@ Import-AzContainerRegistryImage -RegistryName myregistry -ResourceGroupName myRe
340344

341345
---
342346

343-
> [!NOTE]
344-
> Cross-tenant doesn't work across the clouds. Cross-tenant import over private endpoints is also not supported.
345-
346-
347347
## Import from a non-Azure private container registry
348348

349349
Import an image from a non-Azure private registry by specifying credentials that enable pull access to the registry. For example, pull an image from a private Docker registry:
@@ -367,6 +367,7 @@ Import-AzContainerRegistryImage -RegistryName myregistry -ResourceGroupName myRe
367367
> If you're importing from a non-Azure private registry with IP rules, [follow these steps.](container-registry-access-selected-networks.md)
368368
369369
### Troubleshoot Import Container Images
370+
370371
#### Symptoms and Causes
371372
- `The remote server may not be RFC 7233 compliant`
372373
- The [distribution-spec](https://github.com/opencontainers/distribution-spec/blob/main/spec.md) allows range header form of `Range: bytes=<start>-<end>`. However, the remote server may not be RFC 7233 compliant.

0 commit comments

Comments
 (0)