Skip to content

Commit 33141d7

Browse files
committed
Incorp'd Deep's comments
1 parent e34d582 commit 33141d7

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

articles/container-instances/container-instances-troubleshooting.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ manager: gwallace
77

88
ms.service: container-instances
99
ms.topic: article
10-
ms.date: 04/25/2019
10+
ms.date: 09/25/2019
1111
ms.author: danlep
1212
ms.custom: mvc
1313
---
1414

1515
# Troubleshoot common issues in Azure Container Instances
1616

17-
This article shows how to troubleshoot common issues for managing or deploying containers to Azure Container Instances. See also [Frequently asked questions](container-instances-faq.md).
17+
This article shows how to troubleshoot common issues for managing or deploying containers to Azure Container Instances. See also [Frequently asked questions](container-instances-faq.md).
18+
19+
If you need additional support, see available **Help + support** options in the [Azure portal](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade).
1820

1921
## Naming conventions
2022

@@ -198,19 +200,19 @@ Azure Container Instances does not expose direct access to the underlying infras
198200

199201
## Container group IP address may not be accessible due to mismatched ports
200202

201-
Azure Container Instances does not currently support port mapping like with regular docker configuration, however this fix is on the roadmap. If you find a container group's IP address is not accessible when you believe it should be, ensure you have configured your container image to listen to the same ports you expose in your container group with the `ports` property.
203+
Azure Container Instances doesn't yet support port mapping like with regular docker configuration. If you find a container group's IP address is not accessible when you believe it should be, ensure you have configured your container image to listen to the same ports you expose in your container group with the `ports` property.
202204

203205
If you want to confirm that Azure Container Instances can listen on the port you configured in your container image, test a deployment of the `aci-helloworld` image that exposes the port. Also run the `aci-helloworld` app so that it listens on the port. `aci-helloworld` accepts an optional environment variable `PORT` to override the default port 80 it listens on. For example, to test port 9000:
204206

205-
1. Set up the container group to expose port 9000, and pass port 9000 as the value of the environment variable. Substitute a unique value of `dns-label-name`:
207+
1. Set up the container group to expose port 9000, and pass the port number as the value of the environment variable:
206208
```azurecli
207209
az container create --resource-group myResourceGroup \
208210
--name mycontainer --image mcr.microsoft.com/azuredocs/aci-helloworld \
209-
--dns-name-label porttest001 --ports 9000 \
211+
--ip-address Public --ports 9000 \
210212
--environment-variables 'PORT'='9000'
211213
```
212-
1. Find the FQDN or IP address of the container group in the command output of `az container create`.
213-
1. After the container is provisioned successfully, browse to the FQDN and port of the container app in your browser, for example: `http://porttest001.eastus.azurecontainer.io:9000`.
214+
1. Find the IP address of the container group in the command output of `az container create`. Look for the value of **ip**.
215+
1. After the container is provisioned successfully, browse to the IP address and port of the container app in your browser, for example: `192.0.2.0:9000`.
214216
215217
You should see the "Welcome to Azure Container Instances!" message displayed by the web app.
216218
1. When you're done with the container, remove it using the `az container delete` command:

0 commit comments

Comments
 (0)