Skip to content

Commit ecde0f6

Browse files
authored
Merge pull request #120473 from junczhu/import-troubleshooting-guide
docs: added troubleshooting guide to acr import images
2 parents 40bb374 + 0041258 commit ecde0f6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,15 @@ az acr import \
364364
Import-AzContainerRegistryImage -RegistryName myregistry -ResourceGroupName myResourceGroup -SourceRegistryUri docker.io/sourcerepo -SourceImage sourcerrepo:tag -Username <username> -Password <password>
365365
```
366366

367+
### Troubleshoot Import Container Images
368+
#### Symptoms and Causes
369+
- `The remote server may not be RFC 7233 compliant`
370+
- 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.
371+
- `Unexpected response status code`
372+
- Get an unexpected response status code from source repository when doing range query.
373+
- `Unexpected length of body in response`
374+
- The received content length does not match the size expected. Expected size is decided by blob size and range header.
375+
367376
---
368377

369378
## Next steps

0 commit comments

Comments
 (0)