mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
617c352e92
If we are running in a user namespace, don't try to mknod as it won't be allowed. libcontainer will bind-mount the host's devices over files in the container anyway, so it's not needed. The chrootarchive package does a chroot (without mounting /proc) before its work, so we cannot check /proc/self/uid_map when we need to. So compute it in advance and pass it along with the tar options. Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
||
---|---|---|
.. | ||
copy.go | ||
overlay.go | ||
overlay_test.go | ||
overlay_unsupported.go |