The web UI shows the size of the disk the
vmail-vol-1 Docker volume resides on by using
df on the mounted volume inside the dovecot container.
Usually, Docker expects/manages volumes in
/var/lib/docker, so this is the disk
df gets the size for. Depending on the way you “mounted the docker root”, the size shown may not be the correct one, e.g. when using links.