microsoft/Docker-PowerShell

Get-ContainerImage returns Size property value as 0

artisticcheese opened this issue · 1 comments

Output of ipmo Docker; (module Docker).Version.ToString() (from a powershell process):

0.1.0.111

Steps to reproduce the issue:

  1. Get-ContainerImage returns Size as 0 while docker images provides proper sizing

What actually happened?:
Size is reported as 0

What did you expect to happen?:
Size is properly reported

Additional information:

PS C:\Users\admin> Get-ContainerImage

RepoTags                                 ID                   Created                        Size(MB)
--------                                 --                   -------                        --------
my/iis:latest                               sha256:10aa293ba0... 1/4/2017 10:28:10 PM           0.00
my/base:latest                           sha256:f465b226c8... 1/4/2017 10:24:23 PM           0.00
microsoft/iis:latest                     sha256:9172ea5044... 12/13/2016 7:22:01 PM          0.00

Output of docker images

PS C:\Users\admin> docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
my/iis                 latest              10aa293ba056        6 minutes ago       10.2 GB
my/base             latest              f465b226c810        10 minutes ago      9.98 GB
microsoft/iis       latest              9172ea5044cb        3 weeks ago         9.71 GB

Dead module