In fact, you can use the vfs driver in production, but keep in mind that since it is a โnormalโ copy, you wonโt be able to use the functions that devicemapper or btrfs can provide, and you rely solely on the underlying file system.
The lack of runtime is that it is much slower than run . After starting, if you have the same base file system, it will be the same.
In short, I would recommend against, because:
- It was first implemented for tests, which are then used for volumes. It was never intended to be used at runtime.
- It relies on the main file system, so you give less control over Docker over your files. This may (or may not) cause problems with a future update. The very purpose of Docker is to abstract the host, so you better delegate these things to Docker.
- It takes a lot of disk space
- It takes a long time to start or commit
source share