|
Download tutorials/docker-extension/getting-started.md from AbdulElahGwaith/vscode-docs-archive: direct link, hf CLI and curl.
- Browser
- Download file 2.59 kB
-
https://huggingface.co/AbdulElahGwaith/vscode-docs-archive/resolve/main/tutorials/docker-extension/getting-started.md
- Command line
-
hf download hf://AbdulElahGwaith/vscode-docs-archive/tutorials/docker-extension/getting-started.md
-
curl -L -o getting-started.md https://huggingface.co/AbdulElahGwaith/vscode-docs-archive/resolve/main/tutorials/docker-extension/getting-started.md
2.59 kB
| Order: 1 | |
| Area: docker | |
| TOCTitle: Getting started | |
| PageTitle: Getting started with Docker images | |
| MetaDescription: Node.js Deployment to Azure App Services with Visual Studio Code | |
| DateApproved: 1/11/2018 | |
| # Deploy to Azure using Docker | |
| This tutorial walks you through containerizing an existing Node.js application using [Docker](https://www.docker.com/), pushing the app image to a Docker registry, then deploying the image to [Azure Web App for Containers](https://azure.microsoft.com/en-us/services/app-service/containers/) directly from Visual Studio Code. | |
| ## Prerequisites | |
| If you don't have an Azure account, [sign up today](https://azure.microsoft.com/en-us/free/?utm_source=campaign&utm_campaign=vscode-tutorial-docker-extension&mktingSource=vscode-tutorial-docker-extension) for a free 30-day account with $200 in Azure credits to try out any combination of services. | |
| You need [Visual Studio Code](https://code.visualstudio.com/) installed along with [Node.js and npm](https://nodejs.org/en/download) and [Docker](https://www.docker.com/community-edition). | |
| ## Install the Docker and Azure App Service extensions | |
| The Docker extension is used to simplify the management of local Docker images and commands as well as the deployment of a built app image to Azure. | |
| > <a class="tutorial-install-extension-btn" href="vscode:extension/PeterJausovec.vscode-docker">Install the Docker extension</a> | |
| The Azure App Service extension is used to create, manage, and deploy Linux Web Apps on the Azure PaaS. | |
| > <a class="tutorial-install-extension-btn" href="vscode:extension/ms-azuretools.vscode-azureappservice">Install the Azure App Service extension</a> | |
| ## Sign in | |
| Once the extensions are installed, log into your Azure account - in the Activity Bar, click on the Azure logo to show the **AZURE APP SERVICE** explorer. Click **Sign in to Azure...** and follow the instructions. | |
|  | |
| ## Prerequisite Check | |
| Before we continue, ensure that you have all the prerequisites installed and configured. | |
| In VS Code, you should see your Azure email address in the Status Bar and your subscription in the **AZURE APP SERVICE** explorer. | |
| Verify that you have Docker installed and running. | |
| ```bash | |
| $ docker --version | |
| Docker Version 17.12.0-ce, build c97c6d6 | |
| ``` | |
| ---- | |
| <a class="tutorial-next-btn" href="/tutorials/docker-extension/create-registry">I've installed the Docker Extension</a> | |
| <a class="tutorial-feedback-btn" onclick="reportIssue('docker-extension', 'getting-started')" href="javascript:void(0)">I ran into an issue</a> | |