Unable to Execute a command in a running Azure container instance with REST API
Gallatin 21V
141
Reputation points
We can enable to execute a command in a running container with az container exec in the Azure CLI : But cannot able to Executes a command in a specific container instance Using REST API
Refer docement: https://docs.azure.cn/en-us/container-instances/container-instances-exec
We can successfully request the rest api to execute the command and respond 200, but the command is not executed, for example, my test command creates a file, but the command is not executed, there is no file in all the directory, can you help to solve the issue?