Skip to content

Commit 135a214

Browse files
authored
Add note on re-creating containers (docker#10861)
1 parent cf76d7a commit 135a214

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-for-mac/mutagen-caching.md

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ a continuous two-way sync of files between the host and containers using
1414

1515
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.
1616

17+
> **Important**
18+
>
19+
> After completing the caching process, you must delete and re-create any containers which will make use of the cached directories.
20+
1721
## A simple React app
1822

1923
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:
106110
- Avoid changing the same files from both the host and containers. If changes
107111
are detected on both sides, the host takes precedence and the changes in the containers will be discarded.
108112

113+
- After completing the caching process, you must delete and re-create any containers which will make use of the cached directories.
114+
109115
## Feedback
110116

111117
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.

0 commit comments

Comments
 (0)