Add note on re-creating containers (#10861)

This commit is contained in:
Usha Mandya 2020-05-26 09:01:56 +01:00 committed by GitHub
parent cf76d7a865
commit 135a21401e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,10 @@ a continuous two-way sync of files between the host and containers using
This page contains an example to show how the Mutagen feature should be used to sync files between the host and containers. It also gives some best practices to maximize performance.
> **Important**
>
> After completing the caching process, you must delete and re-create any containers which will make use of the cached directories.
## A simple React app
The following example bootstraps a simple React app with `npx` and configures
@ -106,6 +110,8 @@ To achieve maximum performance when you enable two-way file sync:
- Avoid changing the same files from both the host and containers. If changes
are detected on both sides, the host takes precedence and the changes in the containers will be discarded.
- After completing the caching process, you must delete and re-create any containers which will make use of the cached directories.
## Feedback
Your feedback is very important to us. Let us know your feedback by creating an issue in the [Docker Desktop for Mac GitHub](https://github.com/docker/for-mac/issues) repository with the **Mutagen** label.