1. Introduction and prerequisites
In this tutorial, you use Visual Studio Code to:
- Create a containerized Node.js application using Docker.
- Push the container image to an Azure Container registry.
- Deploy the image to Azure App Service.
Prerequisites
- An Azure subscription.
- Azure CLI or Azure Cloud Shell in a browser
- Visual Studio Code.
- Visual Studio Code extensions
- Node.js LTS.
- Docker - running on your workstation.
Sign in to Azure
To sign into your Azure account, navigate to the Azure explorer.
Select Sign in to Azure, and follow the prompts.
If this is not available, you are currently signed in. Verify that the email address of your Azure account (or "Signed In") appears in the Status Bar and your subscription(s) appears in the Azure explorer:
Note
If you see the error "Cannot find subscription with name [subscription ID]", this may be because you are behind a proxy and unable to reach the Azure API. Configure HTTP_PROXY
and HTTPS_PROXY
environment variables with your proxy information in your terminal:
export HTTPS_PROXY=https://username:password@proxy:8080
export HTTP_PROXY=http://username:password@proxy:8080
Verify Docker install
Verify that you have Docker installed properly by running the following command in a terminal or command prompt:
docker --version
The output should include the version number for docker.
Next steps
Feedback
Submit and view feedback for