containerd/diff
Akihiro Suda c224edc5c6 apply: use naive applier when running in UserNS
`OverlayConvertWhiteout` calls `mknod c 0 0` which is not allowed when
running in a user namespace, even in Ubuntu kernel.

Although there is an alternative hacky way to create whiteouts without
calling mknod as Moby `overlay2` actually does(see #3762), let's use
naive applier when running in UserNS and call it a day.

Close #3762

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-24 13:33:09 +09:00
..
apply apply: use naive applier when running in UserNS 2019-10-24 13:33:09 +09:00
lcow Add unpack opts 2019-08-07 18:35:55 +00:00
walking Ensure labels is not nil in differ 2019-06-14 15:20:32 +00:00
windows Support applying with parent directories 2019-08-16 15:49:47 -07:00
diff.go Add unpack opts 2019-08-07 18:35:55 +00:00
stream_unix.go Handle stderr in stream processors 2019-08-07 18:36:52 +00:00
stream_windows.go Handle stderr in stream processors 2019-08-07 18:36:52 +00:00
stream.go Generalize media types 2019-09-19 16:09:19 -07:00