compose-cli icon indicating copy to clipboard operation
compose-cli copied to clipboard

ACI : display progress on docker start, like on docker run

Open gtardif opened this issue 5 years ago • 2 comments
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:

  1. docker --context aci run nginx --name nginx
  2. docker --context aci stop nginx
  3. docker --context aci start nginx
  4. We want to see progress display with 1 step for group creation and one for container start

gtardif avatar Aug 25 '20 14:08 gtardif

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

gtardif avatar Aug 25 '20 15:08 gtardif

We need to ask MSFT about this, their API returns before the container is really started.

rumpl avatar Aug 25 '20 15:08 rumpl