Create your first Docker container with an ASP.NET web app
Publish to Azure App Service
Now that you have created a container image, you can publish it to Azure App Service Linux, also known as Web App for Containers. This allows you to run your container inside a fully-managed platform provided by Azure.
In the Solution Explorer, right-click the myFirstContainerApp project and select Publish.
On the Pick a publish target dialog box, click App Service Linux, choose Create New App Service for Containers, and click Publish.
This opens the Create App Service dialog, which helps you create all the necessary Azure resources to run the ASP.NET web app in Azure App Service Linux.
Sign in to Azure
If you’re already signed in, you will not see this screen. You can proceed to the next section.
In the Create App Service dialog, click Sign In to sign in to your Azure account.
If you don’t already have an Azure account, click Create your free Azure account. This will open a web browser and allow you to sign up for a free trial of Azure. Once you’ve signed up, you can return to Visual Studio and click Sign In to continue creating your new App Service Linux instance.
Create a resource group
A resource group is a logical container into which Azure resources like web apps, databases, and storage accounts are deployed and managed.
Ensure that the appropriate subscription is selected in the Subscription drop-down.
Next to Resource Group, select New….
Name the resource group myResourceGroup and select OK.
Create and publish the container image
In App Name, type a unique container image name, or accept the automatically generated unique name.
Accept the automatically generated name for Hosting Plan, or click the New… button to change the name.
Select Create to start creating the Azure resources.
Once the wizard completes, it publishes your container image to App Service Linux. The publish confirmation page shows the URL and image name.
You can click on the URL to view your new site in your web browser.
Congratulations, you have successfully created a container image for your ASP.NET web site and published it to App Service Linux.
I ran into an issue I have published my site