Azure / Azure/azure-cli

aci: accessing private docker registry on non-standard port with ACI

Open
#11,469 10 comments 2 reactions 0 assignees View on GitHub
act-observability-squad Container Instances Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Ported from [user feedback]( https://social.msdn.microsoft.com/Forums/en-US/8eda3544-53ed-43fa-ac53-87e721fa09c3/accessing-private-docker-registry-on-nonstandard-port-with-aci?forum=AzureContainerServices).

```
az container create\
--name testcontainer\
--resource-group test-rg
--image private.example.com:5000/dockerimage:build94\
--ports 80\
--ip-address Private\
--registry-login-server private.example.com:5000\
--registry-username reguser\
--registry-password ***
```
fails with an error of
`The server 'private.example.com:5000' in the 'imageRegistryCredentials' of container group 'testcontainer' is invalid. It should be a valid host name without protocol`

[Linked issue](https://github.com/Azure/acr/issues/287) at ACR was closed as we determined the issue is no longer ACR related.

//cc: @kawaja
//cc: @mmacy, @neilpeterson, @seanmck @dlepow

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.