I know that Docker uses a storage pool to allocate storage to each container. When using devicemapper storage by default the size of the storage pool is 100GB and the default limit of each container is 10G. This data are shown in Base Device Size
and Data Space Total
field in docker info
.
However, in my scenario docker info
do not show these data fields, probably because my storage driver is overlay2
How can I extract this information, is there any other way(s)?
The output of docker info
Containers: 9
Running: 4
Paused: 0
Stopped: 5
Images: 28
Server version: 28
Storage driver: overlay2
Backing filesystem: extfs
Supports d_type: true
Native Overlay diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
...
The output of docker version
Docker version 18.09.3, build 774a1fa