4

on linux machine, or when I connect to boot2docker VM using putty, I can see this nice progress indicator when I'm pulling images:

1491ff176f58: Downloading [===========================>                       ] 1.481 GB/2.721 GB

Unfortunately when pulling exactly the same image from Git Bash (MinTTY) on Windows

git version 2.5.3.windows.1

docker version:

Client/Server: 1.8.2

There is no progress bar.

Any idea why?

vehovmar
  • 1,557
  • 1
  • 14
  • 24

2 Answers2

0

Docker Toolbox 1.8.3+ has workaround for this issue:

NOTE: When using interactive commands, prepend winpty. Examples: 'winpty docker run -it ...', 'winpty docker exec -it ...'.

See: https://github.com/docker/toolbox/blob/v1.8.3/windows/start.sh

For me it renders the progress bar, but it prints each state of progress bar as new line (not replacing lines like in ssh session).

UPD:

In Docker Toolbox v1.9.0c this issue has been fixed:

On Windows, use bash and the default terminal for the Docker Quickstart Terminal instead of mintty. This fixes several bugs causing cannot enable tty mode on non tty input or repository name component must match "a-z0-9(?:[._]a-z0-9)*".

Oleksandr Horobets
  • 1,335
  • 14
  • 26
-1

Some servers are providing info about the full size of the downloaded file. In this case you get a progress bar. Some servers are just streaming this data without size info, in this case docker can't show the data.

This is not a bug, this is a feature :) :)

Lexandro
  • 765
  • 5
  • 14
  • That would be understandable. But I'm talking about situation when the server is providing info about image size. And when pulling on linux machine I'm able to see it, but not under MinTTY Git Bash on Windows. – vehovmar Sep 29 '15 at 04:52