I would like to have a container displaying dots such as a progress bar. Like this:
....... done!
points are created using echo -n '.'and executed usingecho " done!"
The problem is that it docker logsappears only for outputting whole lines. Thus, all points will be displayed immediately along with the part done.
I tried stdbuf -o0 echo -n '.'and docker run myimage stdbuf -o0 myscript.shbut no luck.
Is there any way to achieve this?
source
share