f02301ab5d
The VirtualSize field is deprecated and the upcoming API version v1.44 will no longer propagate the field. See: https://github.com/moby/moby/commit/1261fe69a3586bb102182aa885197822419c768c, Given that in docker 1.10 and up (API v1.22), the VirtualSize and Size fields contain the same value, and the "df" endpoint was not supported until API v1.25, we can "safely" use Size instead; see: - https://github.com/docker/cli/commit/4ae7176ffb8d37c60d2152fb155678e659af5b99 - https://github.com/moby/moby/commit/4352da7803d182a6013a5238ce20a7c749db979a Signed-off-by: Sebastiaan van Stijn <github@gone.nl>