Information for dm.basesize on Windows docker


There are numerous articles on Linux hosted docker display of volume default base size.


But on Windows docker 18.03.1-ce-win65 (17513) when you run the command:

“docker info” I get the following:

C:\Program Files\Docker\Docker\resources>docker info
Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 18.03.1-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
  Profile: default
Kernel Version: 4.9.87-linuxkit-aufs
Operating System: Docker for Windows
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.934GiB
Name: linuxkit-00155d06b609
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 28
 Goroutines: 46
 System Time: 2018-11-02T05:06:59.0628688Z
 EventsListeners: 1
Experimental: false
Insecure Registries:
Live Restore Enabled: false

Where Can I query this from my windows docker host??

I cannot find any information anywhere regarding this. Anyone with the same issue?


For anyone that is interested in this. I have figured out that the “dm” options are only for devicemapper. so it will not appear in the overlay2 storage options. From the documentation there is a mention that you can set the max default size for overlay2, but however, there is a lack of information regarding overlay2’s default max size if this option is not set.