Simple ASP.NET Core Echo application
10K+
This repository contains image for Echo written in ASP.NET Core & SignalR. Source in GitHub.
latest current development snapshot imageDeploy published image to Azure Container Instances (ACI) the Azure CLI way:
# Variables
aciName="echo"
resourceGroup="echo-dev-rg"
location="westeurope"
image="jannemattila/echo"
# Login to Azure
az login
# *Explicitly* select your working context
az account set --subscription <YourSubscriptionName>
# Create new resource group
az group create --name $resourceGroup --location $location
# Create ACI
az container create --name $aciName --image $image --resource-group $resourceGroup --ip-address public
# Show the properties
az container show --name $aciName --resource-group $resourceGroup
# Show the logs
az container logs --name $aciName --resource-group $resourceGroup
# Wipe out the resources
az group delete --name $resourceGroup -y
Deploy published image to Azure Container Instances (ACI) the Azure PowerShell way:
# Variables
$aciName="echo"
$resourceGroup="echo-dev-rg"
$location="westeurope"
$image="jannemattila/echo"
# Login to Azure
Login-AzAccount
# *Explicitly* select your working context
Select-AzSubscription -SubscriptionName <YourSubscriptionName>
# Create new resource group
New-AzResourceGroup -Name $resourceGroup -Location $location
# Create ACI
New-AzContainerGroup -Name $aciName -Image $image -ResourceGroupName $resourceGroup -IpAddressType Public
# Show the properties
Get-AzContainerGroup -Name $aciName -ResourceGroupName $resourceGroup
# Show the logs
Get-AzContainerInstanceLog -ContainerGroupName $aciName -ResourceGroupName $resourceGroup
# Wipe out the resources
Remove-AzResourceGroup -Name $resourceGroup -Force
Content type
Image
Digest
sha256:bbbbe8c6a…
Size
52.2 MB
Last updated
about 1 year ago
docker pull jannemattila/echo