Add direct unpack support for overlay and aufs#2913
Add direct unpack support for overlay and aufs#2913Random-Liu wants to merge 1 commit intocontainerd:masterfrom
Conversation
archive/tar_opts_unix.go
Outdated
There was a problem hiding this comment.
Do we need something like this https://github.com/moby/moby/blob/de640c9f4932d851316a0a72470c4d3446f6f5ac/pkg/archive/archive_linux.go#L80? @AkihiroSuda
There was a problem hiding this comment.
Or we can just add godoc to suggest client implementors not to use WithConvertWhiteout when running in userns.
There was a problem hiding this comment.
I'll make this change to containerd/aufs once this PR is ok to most people. :)
d9b1f9c to
96dcd69
Compare
archive/tar_opts_unix.go
Outdated
There was a problem hiding this comment.
archive/tar.go
Outdated
There was a problem hiding this comment.
Can we split this to a new function in the global scope
a1596a6 to
a361eb9
Compare
Signed-off-by: Lantao Liu <lantaol@google.com>
a361eb9 to
0ed1a6d
Compare
Codecov Report
@@ Coverage Diff @@
## master #2913 +/- ##
==========================================
+ Coverage 43.89% 44.02% +0.12%
==========================================
Files 101 104 +3
Lines 10800 10887 +87
==========================================
+ Hits 4741 4793 +52
- Misses 5328 5362 +34
- Partials 731 732 +1
Continue to review full report at Codecov.
|
|
needs rebase |
|
I'm going to carry this one. Closing so I can re-open as draft to run tests |
|
@dmcgowan SG. |
For #2886.
This PR:
.wh..wh.plnkrelated logic. It is not defined in the OCI spec; it shouldn't be included in docker image any more; and Docker overlay2 doesn't handle it.Time consumed to pull
k8s.gcr.io/kube-cross:v1.10.3-1on my machine:Signed-off-by: Lantao Liu lantaol@google.com