Docker: Volumes Vs Bind Mounts
The Docker environment provides loose isolation between your applications and your host machine because it containerizes your applications. In other words, this implies that your application operates in a container independently of your host computer in order to achieve its intended results. Docker containers have a writable layer on top that allows you to modify the contents of the container while it is running. However, the container lifecycle dictates how these changes are made.