compose-cli
compose-cli copied to clipboard
ACI : display progress on docker start, like on docker run
trafficstars
Description `docker start on ACI restarts the ACI node, pulls the image and restarts the container. This can be long, and it's useful for users to see what is happening. We need to hook progress display like in the Run implementation
Steps to reproduce the issue:
docker --context aci run nginx --name nginxdocker --context aci stop nginxdocker --context aci start nginx- We want to see progress display with 1 step for group creation and one for container start
Actually it's not just improving display, currently the start command returns before the container has actually restarted, doing several ps --all after starting a container, we can see the following states :
- Node Pending (container group status)
- Waiting
- Running
We need to ask MSFT about this, their API returns before the container is really started.