go-units removes trailing zeros in its output. This makes the output in Docker's progress indicators not line up.
Current:
cba48ac2c991: Downloading 23 MB/37.18 MB
f19be92d17a1: Downloading 24.3 MB/64.6 MB
Better:
cba48ac2c991: Downloading 23.0 MB/37.18 MB
f19be92d17a1: Downloading 24.3 MB/64.60 MB
One decimal place should be enough when dealing with sizes:
cba48ac2c991: Downloading 23.0 MB/37.2 MB
f19be92d17a1: Downloading 24.3 MB/64.6 MB
go-units removes trailing zeros in its output. This makes the output in Docker's progress indicators not line up.
Current:
Better:
One decimal place should be enough when dealing with sizes: