Files
docker-cli/components/engine/daemon
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-05-06 16:08:53 -07:00
2016-07-23 11:32:23 +08:00
2016-07-21 20:04:47 -07:00
2016-07-23 11:32:23 +08:00
2016-02-03 10:43:01 -08:00
2016-07-18 12:53:34 -06:00
2016-06-30 11:32:49 -07:00
2016-06-27 10:23:37 -07:00
2016-06-27 10:23:37 -07:00
2016-08-01 01:00:38 +08:00
2016-08-11 13:47:01 -04:00
2016-06-21 15:29:25 +08:00
2016-08-08 22:46:53 +08:00
2016-06-02 19:12:20 -07:00