Azure-cli: az container create: spec for --ports unclear

Created on 26 Apr 2018  Â·  5Comments  Â·  Source: Azure/azure-cli

The reference for the --ports argument does not specify how to open more than one port. (Multiple port numbers can be separated by spaces.)


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Container Documentation Service Attention good first issue

Most helpful comment

that is something they should add asap to make this really powerfull..
something like --ports 80:8080 443:8443

All 5 comments

Um, the --ports accepts a maximum of 5 ports, and it seems does not support mapping --just opening a same port that exposed from the container.

that is something they should add asap to make this really powerfull..
something like --ports 80:8080 443:8443

Port mapping is a commonly asked for feature. If you are interested up vote it here to make sure its higher priority: https://feedback.azure.com/forums/602224-azure-container-instances

The text should read "Space-separated list of ..."

why description change for the ports argument is not yet changed?

Was this page helpful?
0 / 5 - 0 ratings