1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver
Serge Hallyn 617c352e92 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>
2016-08-12 16:26:58 -04:00
..
aufs small nit: fix unmeaningful log 2016-07-26 07:10:28 +08:00
btrfs Add disk quota support for btrfs 2016-05-05 14:35:13 +08:00
devmapper Fixes Issue # 23418: Race condition between device deferred removal and resume device. 2016-08-02 10:33:58 -04:00
graphtest Update diff apply test to check sub directories 2016-07-26 12:03:55 -07:00
overlay Don't create devices if in a user namespace 2016-08-12 16:26:58 -04:00
overlay2 Allow option to override kernel check in overlay2 2016-07-11 16:48:08 -07:00
register Add separate overlay2 driver 2016-06-08 00:16:01 -07:00
vfs Adding readOnly parameter to graphdriver Create method 2016-04-06 13:52:53 -07:00
windows Merge pull request #25509 from Microsoft/jjh/23079 2016-08-12 09:32:22 -07:00
zfs Merge pull request #24745 from daehyeok/logrus 2016-07-28 16:50:19 -07:00
counter.go Add reference counting to aufs 2016-05-23 15:57:23 -07:00
driver.go use %s instead of %q when format in graphdirver log 2016-07-30 02:12:55 +08:00
driver_freebsd.go Move layer mount refcounts to mountedLayer 2016-03-23 14:42:52 -07:00
driver_linux.go aufs,overlay: disable on eCryptfs 2016-06-01 21:00:35 +03:00
driver_solaris.go Refactoring for logrus formatting 2016-07-18 12:53:34 -06:00
driver_unsupported.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
driver_windows.go Windows: Remove windowsdiff driver 2016-05-20 16:18:19 -07:00
fsdiff.go Fix logrus formatting 2016-06-11 13:16:55 -07:00
plugin.go plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
plugin_unsupported.go
proxy.go Adding readOnly parameter to graphdriver Create method 2016-04-06 13:52:53 -07:00