Docker simplifies and accelerates your workflow and deployment.
But due to this friendly behavior of Docker, we tend to overlook some of its limitations & vulnerabilities. In this post we'll be looking at Docker through a major aspect: Security.
When a container is created, an additional writable layer called the "container layer" substitutes for the filesystem within the container. But all files created within the container will not be persisted on the host.
Hence, we use Docker bind mounts and volumes to allow persistence.