Getting Started with Aci - Manage With Azure Container Registry - in .Net
Azure Container Instance sample for managing container groups with private image repositories. - Create an Azure Container Registry to be used for holding the Docker images - If a local Docker engine cannot be found, create a Linux virtual machine that will host a Docker engine to be used for this sample - Use Docker DotNet to create a Docker client that will push an image to Azure Container Registry - Create a new container group with one container instance from the image that was pushed in the registry
Running this Sample
To run this sample:
Set the environment variable
AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.
git clone https://github.com/Azure-Samples/aci-dotnet-create-container-groups-using-private-registry.git cd aci-dotnet-create-container-groups-using-private-registry dotnet restore dotnet run