DEV Community

Cover image for Create Azure Container Instance using Docker Compose
Antoine
Antoine

Posted on

Create Azure Container Instance using Docker Compose

Photo by Mike Castro Demaria on Unsplash

As stated in this tutorial on microsoft docs, you can deploy a group of Azure Container Instance using either

  • yaml
  • Azure Resource Manager
  • Docker compose using Docker CLI

Docker Context

As highlighted in the tutorial, in order to deploy using docker cli, you need to

  • login into Azure using docker CLI
  • create an Azure Container Instance docker context

This page from Docker site, describes the integration.

This page describes the support level for each feature of Docker-Compose.

Important: use

docker compose up
Enter fullscreen mode Exit fullscreen mode

to start Azure Container Instance and not docker-compose up !

Features

Azure Files Shares can be used as Volume.

Health checks are supported too, although i'm not sure if they are supported if a VNet is used.

Port mapping is not supported but we can expose up to 5 ports .

Hope this helps !

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay