Metricbeat - collects the dockers memory size which is different from “docker stats”

Hi,I have met a problem as follows:

i have use metricbeat to collect docker memory, but found that the data of memory (suce as memory usage) was different from the "docker stats", is it right ?
metricbeat: 7.6.0