From ff93c67e07c4dea7ad444535e58df3c382cbb00d Mon Sep 17 00:00:00 2001 From: gfjardim Date: Wed, 16 Mar 2016 19:09:59 -0300 Subject: [PATCH] Change shared to slave due security reasons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I’ve confirmed that a privileged container can unmount a host target if the volume map is mounted as shared. With slave propagation, the unmount only took place inside the container, without affecting the host target. --- plugins/dynamix.docker.manager/include/CreateDocker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix.docker.manager/include/CreateDocker.php b/plugins/dynamix.docker.manager/include/CreateDocker.php index 4233406a8..6e8a28abb 100644 --- a/plugins/dynamix.docker.manager/include/CreateDocker.php +++ b/plugins/dynamix.docker.manager/include/CreateDocker.php @@ -940,7 +940,7 @@ $showAdditionalInfo = ''; var index = $(el)[0].selectedIndex; if (index == 0) { // Path - mode.html("
Mode
"); + mode.html("
Mode
"); value.bind("click", function(){openFileBrowser(this,$(this).val(), 'sh', true, false);}); } else if (index == 1) { // Port