diff options
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -411,7 +411,7 @@ above. You're using an old version of Docker. Refer to the [Requirements](#requirements) section for the minimum version supported. -### I can’t see a file copied with `docker cp` or `kubectl cp`. +### I can’t see a file copied with `docker cp`. For performance reasons, gVisor caches directory contents, and therefore it may not realize a new file was copied to a given directory. To invalidate the cache @@ -420,6 +420,9 @@ contents again. This bug is tracked in [bug #4](https://github.com/google/gvisor/issues/4). +Note that `kubectl cp` works because it does the copy by exec'ing inside the +sandbox, and thus gVisor cache is aware of the new files and dirs. + ## Technical details We plan to release a full paper with technical details and will include it here |