Files
docker-cli/components/engine/pkg/archive
Serge Hallyn cc5b6aa3dd Don't create devices if in a user namespace
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>
Upstream-commit: 617c352e9225b1d598e893aa5f89a8863808e4f2
Component: engine
2016-08-12 16:26:58 -04:00
..
2016-06-02 17:17:22 +08:00
2016-07-23 11:32:23 +08:00
2015-08-04 09:52:54 +08:00
2015-12-13 18:04:12 +02:00
2015-04-24 17:03:33 +02:00

This code provides helper functions for dealing with archive files.