mirror of https://github.com/docker/docs.git
Add note on re-creating containers (#10861)
This commit is contained in:
parent
cf76d7a865
commit
135a21401e
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue