What is the difference between SizeRootFs and SizeRw in Docker containers?

From the list of docker containers, you can get the container sizes SizeRootFs and SizeRw, but I can not find what the exact values ​​mean.

+4
source share
1 answer

SizeRootFsis the total size of all files in the container in bytes. If you exported the container file system as a tarball, that would be about this size.

SizeRw- the size of the files that were created or modified, if you compare the container with its base image. Immediately after creation, this should be zero; when you change (or create) files, it will increase.

+8
source

Source: https://habr.com/ru/post/1529881/


All Articles