1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Timothy Hobbs 608702b980 Refactor device handling code
We now have one place that keeps track of (most) devices that are allowed and created within the container.  That place is pkg/libcontainer/devices/devices.go

This fixes several inconsistencies between which devices were created in the lxc backend and the native backend.  It also fixes inconsistencies between wich devices were created and which were allowed.  For example, /dev/full was being created but it was not allowed within the cgroup.  It also declares the file modes and permissions of the default devices, rather than copying them from the host.  This is in line with docker's philosphy of not being host dependent.

Docker-DCO-1.1-Signed-off-by: Timothy Hobbs <timothyhobbs@seznam.cz> (github: https://github.com/timthelion)
2014-05-30 19:21:29 +00:00
..
execdriver Refactor device handling code 2014-05-30 19:21:29 +00:00
graphdriver Return devmapper errors with additional text 2014-05-27 19:03:57 -07:00
networkdriver Ip allocator refactoring 2014-05-27 22:56:26 +04:00
attach.go Move Attach from container to daemon 2014-05-05 16:48:56 -07:00
container.go Refactor device handling code 2014-05-30 19:21:29 +00:00
container_unit_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon.go Improve name generation on concurrent requests 2014-05-23 17:51:16 -07:00
daemon_aufs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_btrfs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_devicemapper.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_no_aufs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
history.go don't call sort for every add in history 2014-05-14 15:02:02 +03:00
inspect.go move inspect from server to daemon 2014-05-20 19:36:15 +00:00
network_settings.go Fix port mapping in ps display for public and private 2014-05-12 15:26:23 -07:00
README.md Add readme for daemon directory 2014-05-17 17:56:02 +00:00
server.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
state.go Move duration and size to units pkg 2014-05-12 17:05:07 -07:00
utils.go Improve name generation on concurrent requests 2014-05-23 17:51:16 -07:00
utils_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
volumes.go Merge pull request #5859 from philips/append-etc-hosts-not-bind 2014-05-21 15:57:59 -07:00

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver
  • networkdriver

Code pertaining to storing images:

  • graphdriver