Executing system command inside docker container increases disk usage
I noticed this interesting phenomenon when testing docker container: when I exec
into a container and execute whatever command like echo
, cd
, cp
, rm
inside the container, it will cause a small increment of SizeRw
(docker inspect --size [container] | grep SizeRw
).