deploy docker to azure container from VS Code

AJG 436 Reputation points
2020-09-09T05:51:40.43+00:00

I am using the VS Code Docker extension,

there is a context menu entry in the image registry section which allows you to "Deploy Image to Azure App Service".

is there a similar option somewhere that allows you to deploy image to an Azure Container instead ?

at the moment I am doing this via the portal.

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
422 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
670 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sam Cogan 10,332 Reputation points MVP
    2020-09-09T08:17:53.017+00:00

    No, the extension does not have the ability to deploy to ACI, just app services. However, given that you would have published your image to a container registry, you can use the Azure CLI in VS Code to start an ACI instance with that image.

    0 comments No comments

0 additional answers

Sort by: Most helpful