A virtual filesystem gives each running container its own software-provided disk view. Docker builds that view by merging image layers, then allows the container to change its own files without changing the image or other containers. section 6.1
Compare two containers
Run two containers from the same image. Each writes to /random/number.txt, but the files contain different random values. Copy both files to the host with docker container cp and compare them. The containers retain their files after exiting, while deleting a container removes that transient state. section 6.1
docker container run --name rn1 diamol/ch06-random-number:2e docker container run --name rn2 diamol/ch06-random-number:2e
Use the supplied commands to start two containers from the same image and observe independent filesystem contents. section 6.1
