mirror of https://github.com/docker/docs.git
Add new filesharing tip on Windows too
This commit is contained in:
parent
d6cc8a1d2c
commit
da56259e89
|
@ -105,6 +105,11 @@ File share settings are:
|
|||
bind mount (`-v`) feature.
|
||||
|
||||
> Tips on shared folders, permissions, and volume mounts
|
||||
>
|
||||
* Share only the directories that you need with the container. File sharing
|
||||
introduces overhead as any changes to the files on the host need to be notified
|
||||
to the Linux VM. Sharing too many files can lead to high CPU load and slow
|
||||
filesystem performance.
|
||||
>
|
||||
* Shared folders are designed to allow application code to be edited on the host while being executed in containers. For non-code items
|
||||
such as cache directories or databases, the performance will be much better if they are stored in
|
||||
|
|
Loading…
Reference in New Issue