1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/execdriver/lxc
Tianon Gravi d5d62ff955 Close extraneous file descriptors in containers
Without this patch, containers inherit the open file descriptors of the daemon, so my "exec 42>&2" allows us to "echo >&42 some nasty error with some bad advice" directly into the daemon log. :)

Also, "hack/dind" was already doing this due to issues caused by the inheritance, so I'm removing that hack too since this patch obsoletes it by generalizing it for all containers.

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-04-29 16:45:28 -06:00
..
driver.go Close extraneous file descriptors in containers 2014-04-29 16:45:28 -06:00
info.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
info_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
init.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
lxc_init_linux.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
lxc_init_unsupported.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
lxc_template.go No not mount sysfs by default for non privilged containers 2014-04-24 10:35:20 -07:00
lxc_template_unit_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00