Files
docker-cli/components/engine/daemon
Eric Windisch 793088ed0a Make /proc, /sys, /dev readonly for readonly containers
If a container is read-only, also set /proc, /sys,
& /dev to read-only. This should apply to both privileged and
unprivileged containers.

Note that when /dev is read-only, device files may still be
written to. This change will simply prevent the device paths
from being modified, or performing mknod of new devices within
the /dev path.

Tests are included for all cases. Also adds a test to ensure
that /dev/pts is always mounted read/write, even in the case of a
read-write rootfs. The kernel restricts writes here naturally and
bad things will happen if we mount it ro.

Signed-off-by: Eric Windisch <eric@windisch.us>
Upstream-commit: 5400d8873f730e6099d29af49fe45931665c3b49
Component: engine
2015-07-02 19:08:00 +00:00
..
2015-04-07 08:43:14 -07:00
2015-06-29 06:18:41 -07:00
2015-06-26 11:03:11 +09:00
2015-06-30 17:43:17 +01:00
2015-06-30 17:43:17 +01:00
2015-06-30 17:43:17 +01:00
2015-06-30 16:48:17 -04:00
2015-05-14 15:57:45 -07:00
2015-06-12 09:21:17 -07:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-06-30 17:43:17 +01:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-06-15 18:18:38 -04:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-05-29 22:38:09 +02: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