compose-cli
compose-cli copied to clipboard
Limited Docker CLI functionality in Azure Context (ACI)
Description
- The Docker Azure integration with Azure Container Instances provided limited ability to use docker compose to deploy multi container applications. We needed to run multi-container applications and decided to use docker compose.
- Azure Context was used to execute docker commands with Azure Container Instances. However, the only Docker Compose commands currently available in an ACI context are
docker compose upanddocker compose down. Following were the issues that we faced while using the ACI Context:- Docker ACI integration provided no ability to scale services (Equivalent of
docker compose up --scale)- We needed to run several containers with the same configuration, and although this can be accomplished with the --scale docker compose option, the Docker Azure Integration did not provide this.
- Service Credential Configuration
- There was no ability to specify private container registry credentials
- No ability to stop the containers without destroying the resources (Equivalent of
az container stop)
- Docker ACI integration provided no ability to scale services (Equivalent of
Additional information you deem important (e.g. issue happens only occasionally):
- Workaround Details:
- Azure CLI Commands for container create and container stop were utilized instead of the ACI integration with Docker.
Output of docker-compose --version:
docker-compose version 1.29.2, build 5becea4c
Output of docker version:
Server: Docker Desktop 4.11.1 (84025)