Update readme to say that 'kubectl cp' works

PiperOrigin-RevId: 228904169
Change-Id: I948f417d1336cb69c5733b142c53850507432fda
This commit is contained in:
Fabricio Voznika
2019-01-11 10:33:31 -08:00
committed by Shentubot
parent f8c8f24154
commit 864eac4a5b
+4 -1
View File
@@ -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 cant see a file copied with `docker cp` or `kubectl cp`.
### I cant 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