@Amerman, Richard - Thanks for reaching out and for being patient while the PG is looking into this.
Rephrasing what dingmeng has provided in the Github issue for larger audience.
According to error message you were getting, the cmdlet cannot execute in docker container correctly. Below are few suggestions based on the script you are running :
- You can simply your command and check whether container can execute command as expected or not. such as just touch one file. Or you can try command what you are using in local docker container.
- Check the first HTTP request during New-AzContainerGroup. The payload of HTTP request contains what parameter is sent to ContainerInstance service.
If you have already tried the above scenarios,
Current repo of Azure PowerShell just takes the responsibility of client behavior and we ensure the request is sent to service correctly. But we have limited know in each service especially edge cases.
To follow up on your question, you can select one of below approaches.
- In order for us to troubleshoot further, We would like to put you in touch with a support engineer so you can receive 1:1 support for a deeper investigation on this. We would need you to send us an email at AzCommunity@Microsoft.com by providing below details.
Subject : ATTN:Monika- Subscription ID
- A link to this thread.
Please email us these details and we will work with you closely to get this issue taken care of and also post any findings here in the thread so the community can
benefit from it.
Thanks in advance. Looking forward for your email.
- You can leverage current GitHub issue too. But we need the payload of HTTP call and the last HTTP call during executing New-AzContainerGroup. Then, we will forward it to ContainerInstance team to look into it.
Hope this helps.