Azure / Azure/azure-cli

`az containerapp compose create` is stuck due to a specific docker compose file

Open
#30,674 8 comments 0 reactions 0 assignees View on GitHub
act-observability-squad Auto-Assign bug ContainerApp customer-reported Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

I tried `az containerapp compose create` with the following docker compose file, then the command was stuck.
https://github.com/langgenius/dify/blob/main/docker/docker-compose.yaml

It seems that loading yaml fails because this log doesn't display even with `--debug`.
https://github.com/Azure/azure-cli/blob/f0b5572c4ccafb383de08beb509045145fdc871f/src/azure-cli/azure/cli/command_modules/containerapp/custom.py#L4927

### Related command

`az containerapp compose create`

### Errors

No error message because the command is stuck

### Issue script & Debug output

No error message

### Expected behavior

The container apps would be created related the YAML file

### Environment Summary

azure-cli 2.68.0

core 2.68.0
telemetry 1.1.0

Extensions:
authV2 0.1.3
bastion 1.3.1
devcenter 6.2.0
spring 1.6.4
ssh 2.0.6

Dependencies:
msal 1.31.1
azure-mgmt-resource 23.1.1

Python location '/opt/az/bin/python3'
Extensions directory '/home/horihiro/.azure/cliextensions'

Python (Linux) 3.12.8 (main, Jan 8 2025, 03:38:17) [GCC 11.4.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.