docker images
fix #12852 Signed-off-by: Daniel Zhang <jmzwcn@gmail.com>
Also, now that I was at it, gave them a small refactor. Docker-DCO-1.1-Signed-off-by: Francisco Carriedo <fcarriedo@gmail.com> (github: fcarriedo)
Increased coverage: * Added test cases to size_test.go * Added coverage for duration.go Docker-DCO-1.1-Signed-off-by: Francisco Carriedo <fcarriedo@gmail.com> (github: fcarriedo)