docs: warn about virtualbox sendfile issue

This is a common issue new users may experience, so it seems worth
warning about.

See https://github.com/docker/docker/issues/18666

Signed-off-by: Felix Geisendörfer <felix@debuggable.com>
This commit is contained in:
Felix Geisendörfer 2015-12-16 13:20:25 +00:00
parent fb916f2389
commit 93456ab28c
1 changed files with 10 additions and 0 deletions

View File

@ -78,3 +78,13 @@ Environment variables and default values:
| `--virtualbox-hostonly-nicpromisc` | `VIRTUALBOX_HOSTONLY_NIC_PROMISC` | `deny` |
| `--virtualbox-no-share` | `VIRTUALBOX_NO_SHARE` | `false` |
| `--virtualbox-dns-proxy` | `VIRTUALBOX_DNS_PROXY` | `false` |
## Known Issues
Vboxfs suffers from a [longstanding bug](https://www.virtualbox.org/ticket/9069)
causing [sendfile(2)](http://linux.die.net/man/2/sendfile) to serve cached file
contents.
This will often cause problems when using a web server such as nginx to serve
static files from a shared volume. For development environments, a good
workaround is to disable sendfile in your server configuration.