Azure-cli: Publish or expose port

Created on 6 Aug 2018  路  2Comments  路  Source: Azure/azure-cli

I am using azure container instances.
Is there a opportunity to bind ports of the container to other ports?

Something like:

$ docker run -p 80:8080 ubuntu

Thanks for help.

Service Attention question

All 2 comments

@makoit we currently do not support port mapping in ACI. The ports that are exposed need to be direct mappings to the container's ports.

@makoit One other note, this is a commonly asked feature. You can upvote it here: https://feedback.azure.com/forums/602224-azure-container-instances

Was this page helpful?
0 / 5 - 0 ratings