Sign inSign up

jannemattila/echo

By jannemattila

Updated about 1 year ago

Simple ASP.NET Core Echo application

Image
1

10K+

jannemattila/echo repository overview

Echo

This repository contains image for Echo written in ASP.NET Core & SignalR. Source in GitHub.

Currently supported tags

  • latest current development snapshot image

How to deploy to Azure Container Instances (ACI)

Deploy 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

Tag summary

Content type

Image

Digest

sha256:bbbbe8c6a

Size

52.2 MB

Last updated

about 1 year ago

docker pull jannemattila/echo