Azure / Azure/azure-cli

az container list gives the wrong status for running containers

Open
#10,121 4 comments 3 reactions 0 assignees View on GitHub
act-observability-squad Container Instances customer-reported Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

`az container list` gives `Succeeded` status for the `Running` containers.

**Command Name**
`az container list`

**Errors:**
![image](https://user-images.githubusercontent.com/116863/62305520-bd1c4380-b445-11e9-9f06-f88d4c1264e6.png)

## To Reproduce:
Run `az container list` and compare it with Azure Portal.

- `az container list -g {} -o table`
- Compare status with Azure portal

## Expected Behavior
The status returns from `az container list` is `Running` and not `Succeeded`.

## Environment Summary
```
Windows-10-10.0.17134-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.70

```
## Additional Context

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.