azure-mgmt-containerinstance
Microsoft Azure Container Instance Client Library for Python
What it is and what it does
This is the official Microsoft Azure SDK client library for managing Azure Container Instances—a serverless container service. It provides Python bindings to create, update, delete, and monitor container groups and individual containers running on Azure's infrastructure without managing underlying virtual machines. The library integrates with Azure's control plane via REST APIs and supports Python 3.7+.
The package is production-stable and follows modern Azure SDK design patterns, including type annotations and unified exception handling. It has no external runtime dependencies. Version 10.1.0 adds support for security contexts, confidential compute properties, extensions, and priority settings on container groups.
Use it for:
- Deploy and manage containerized applications on Azure without provisioning or managing virtual machines.
- Automate container group lifecycle—create, scale, update, and tear down container instances programmatically.
- Integrate container deployment into CI/CD pipelines or infrastructure-as-code workflows targeting Azure.
- Monitor and query container logs, resource usage, and network dependencies for running container groups.
- Configure advanced container settings like security contexts, encryption properties, and custom provisioning timeouts.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages Azure Container Instances—create, configure, and monitor containerized workloads running on Azure's serverless container platform.
Yes. This is the official, actively maintained Azure Container Instances client library. Install it if you need to manage ACI workloads from Python—it has no external runtime dependencies, permissive licensing, and stable API. It is not worth installing if you don't use Azure or don't need programmatic container management.
Install
azure-mgmt-containerinstance on PyPI
pip
pip install azure-mgmt-containerinstanceuv
uv add azure-mgmt-containerinstancepoetry
poetry add azure-mgmt-containerinstanceInstalling azure-mgmt-containerinstance
Before you install
Low install friction; distributed as a pure-Python wheel. Maintained actively with recent commits. No runtime dependencies to resolve.
License in practice
MIT License permits commercial use, modification, and distribution with minimal restrictions—standard permissive terms.
Quickstart
pip install azure-mgmt-containerinstance
from azure.mgmt.containerinstance import ContainerInstanceManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ContainerInstanceManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Requires Python 3.7+. Azure subscription and environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) must be configured for authentication.
Verify before relying
- Whether async operations are available in the aio namespace as mentioned in the description.
- Specific operation groups and models available in version 10.1.0 beyond those listed in release notes.
- Whether tracing integration with OpenCensus or OpenTelemetry is available as described.
Package facts
| License | MIT License (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 1,211 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 12,742,640/month — #1,308 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_containerinstance-10.1.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
azure-mgmt-iothubprovisioningservicesManages Azure IoT Hub Provisioning Services…
permissive · top 5,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI
azure-mgmt-containerregistrytasksProvides Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-msiManages Azure Managed Service Identities…
permissive · top 5,000 on PyPI
azure-mgmt-containerregistryManages Azure Container Registry…
unclear · top 5,000 on PyPI
azure-mgmt-trafficmanagerProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-imagebuilderManages Azure VM image templates and builds…
unclear · top 5,000 on PyPI
azure-mgmt-subscriptionProvides Python client library for managing…
permissive · top 5,000 on PyPI