mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Update readme to say that 'kubectl cp' works
PiperOrigin-RevId: 228904169 Change-Id: I948f417d1336cb69c5733b142c53850507432fda
This commit is contained in:
committed by
Shentubot
parent
f8c8f24154
commit
864eac4a5b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user