Docker Community Forums

Share and learn in the Docker community.

Find 'Disk image max size' option programmatically?

Hello!

Is there a way to get the value of the docker for windows option Disk image max size programmatically?

The option is available in the UI under Advanced → Disk image max size (the default seems to be 59.6gb?).

I am working on automation to cleanup local developer workspaces and it would be useful to have this value but I was unable to find any details on the fourm or in the documentation.

I’m currently using docker version 2.1.0.5

Thanks!