Create your first container in Azure Container Instances
Azure Container Instances makes it easy to create and manage containers in Azure. In this quickstart, you create a container in Azure and expose it to the internet with a public IP address. This operation is completed by using the Azure portal. With just a few clicks, you will see this in your browser:
Log in to Azure
Log in to the Azure portal at http://portal.azure.com.
Create a container instance
Select the New > Containers > Azure Container Instances (preview).
Enter the following values in the Container name, Container image, and Resource group text boxes. Leave the other values at their defaults, then click OK.
- Container name:
- Container image:
- Resource group:
You can create both Windows and Linux containers in Azure Container Instances. In this quickstart, we'll leave the default setting of Linux since we specified a Linux-based container (
microsoft/aci-helloworld) in the previous step.
Leave the other settings in Configuration at their defaults, then click OK to validate the configuration.
When the validation completes, you are shown a summary of your container settings. Select OK to submit your container deployment request.
When deployment starts, a tile is placed on your portal dashboard indicating deployment progress. Once deployment completes, the tile is updated to show your new mycontainer-myc1 container group.
Select the mycontainer-myc1 container group to display the container group properties. Take note of the Ip address of the container group, as well as the STATE of your container.
Once the container moves to the Running state, navigate to the IP address you noted in the previous step to display the application hosted in your new container.
In this quickstart, you created an Azure Container Instance from an image in a public Docker Hub repository. If you'd like to try building a container yourself and deploy it to Azure Container Instances using the Azure Container Registry, continue to the Azure Container Instances tutorial.