summaryrefslogtreecommitdiff
path: root/daemon/container_windows.go
diff options
context:
space:
mode:
authorMrunal Patel <mrunalp@gmail.com>2015-08-03 15:05:34 -0700
committerMrunal Patel <mrunalp@gmail.com>2015-08-19 12:36:52 -0400
commitd88fe447df0e87b3a57f9d08b108b141dd72678c (patch)
tree79e48cc0009e63b6db8a2d0d99c26bb36ec97ae3 /daemon/container_windows.go
parent215a1136f7a65a68a2b2999bdb00d05758882073 (diff)
downloaddocker-d88fe447df0e87b3a57f9d08b108b141dd72678c.tar.gz
Add support for sharing /dev/shm/ and /dev/mqueue between containers
This changeset creates /dev/shm and /dev/mqueue mounts for each container under /var/lib/containers/<id>/ and bind mounts them into the container. When --ipc:container<id/name> is used, then the /dev/shm and /dev/mqueue of the ipc container are used instead of creating new ones for the container. Signed-off-by: Mrunal Patel <mrunalp@gmail.com> Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
Diffstat (limited to 'daemon/container_windows.go')
-rw-r--r--daemon/container_windows.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/daemon/container_windows.go b/daemon/container_windows.go
index cea0268565..bd6dde8d83 100644
--- a/daemon/container_windows.go
+++ b/daemon/container_windows.go
@@ -172,3 +172,15 @@ func (container *Container) prepareMountPoints() error {
func (container *Container) removeMountPoints() error {
return nil
}
+
+func (container *Container) setupIpcDirs() error {
+ return nil
+}
+
+func (container *Container) unmountIpcMounts() error {
+ return nil
+}
+
+func (container *Container) ipcMounts() []execdriver.Mount {
+ return nil
+}