Michael Crosby
3e661186ba
Merge pull request #535 from mrunalp/sys_props
...
Adds support for setting system properties.
2015-04-30 11:46:33 -07:00
Daniel, Dao Quang Minh
1c43532155
Merge pull request #553 from crosbymichael/cgroup-mount
...
Add cgroup mount type for mounting container local cgroups
2015-04-23 15:59:09 -07:00
Mrunal Patel
60d3a49f6e
Adds functionality to set system properties.
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com >
2015-04-22 22:17:30 -04:00
Michael Crosby
03bbb04f26
Implement mounting cgroups as readonly
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2015-04-20 12:21:11 -07:00
Dan Walsh
dc480bc3ad
add integration test for premount/postmount hooks
...
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com > (github: rhatdan)
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com > (github: rhatdan)
2015-04-17 08:28:17 -04:00
Dan Walsh
59c5c3ac0f
Add support for Premount and Postmount commands.
...
We want to allow docker to mount tmpfs directories over existing directories
in the image. We will use this patch to pass commands from docker to
libcontainer. The first command we will use is the tar command to gather
all of the contents of the destination directory before mounting, then after
we mount the post mount command will untar the content.
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com > (github: rhatdan)
2015-04-16 20:34:12 -04:00
Dan Walsh
907c7c17f0
Change mount point propogation to default to slave
...
As an admin I would expect that if I volume mount a partition into a container, and then later add a mount point to the volume, it will show up in the container.
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com > (github: rhatdan)
2015-04-10 10:49:28 -04:00
Dan Walsh
f7f332bb2c
/dev/mqueue has to be labeled correctly
...
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com > (github: rhatdan)
2015-04-08 07:59:40 -04:00
Mrunal Patel
2c037b7fd9
mount: Add a flag to bind devices when user namespaces are enabled.
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com >
2015-03-24 20:34:14 -04:00
Alexander Morozov
870119e763
Add TmpfsRoot option
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com >
2015-03-19 11:05:59 -07:00
Mrunal Patel
c1ca18404f
mount: Take out the base mounts and move them to the config.
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com >
2015-03-17 14:03:28 -04:00
Mrunal Patel
3125b53b1a
mount: sysfs also doesn't need to be labelled like mqueue.
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com >
2015-03-16 14:05:20 -04:00
Mrunal Patel
58feafa848
Merge pull request #442 from rhatdan/tmpfsperms
...
Mounting a tmpfs directory needs to inherit directory permissions from base
2015-03-11 21:10:31 -07:00
Dan Walsh
9f2c67332f
Mounting a tmpfs directory needs to inherit directory permissions from base
...
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com > (github: rhatdan)
2015-03-11 15:33:35 -04:00
Andy Goldstein
2ca9dc306e
Don't label mqueue when mounting
...
mqueue shouldn't be labeled when mounting; otherwise, the mount will
fail.
Signed-off-by: Andy Goldstein <agoldste@redhat.com >
2015-03-11 14:30:26 -04:00
Alexander Morozov
087caf69e8
Don't join rootfs if path already prefixed by it
...
In docker we evaluate all symlinks im path to check that they not escaping
from rootfs and that gives us full path to mount.
Signed-off-by: Alexander Morozov <lk4d4@docker.com >
2015-02-26 13:08:15 -08:00
Alexander Morozov
8d0b06257b
Move tty configuration to Process
...
Now you need to call Process.NewConsole to setup console for process
Signed-off-by: Alexander Morozov <lk4d4@docker.com >
2015-02-25 15:04:43 -08:00
Alexander Morozov
a1c3e0db94
Change os-prefix file naming to standard postfix naming
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com >
2015-02-23 10:41:26 -08:00