From 02d9a654664b3c7fdb518780c6a61c21e208d169 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Fri, 11 Aug 2017 21:56:45 -0400 Subject: [PATCH] Revert "add the :Z option to all mounted volumes so that discourse works when selinux is enabled" This reverts commit 2b0b0938c475b8886ee14f66e8b16f403ca8213a. --- launcher | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/launcher b/launcher index 687557b..0a90baa 100755 --- a/launcher +++ b/launcher @@ -252,12 +252,8 @@ RUBY set_volumes() { - local volopts= - if selinuxenabled; then - volopts=":Z" - fi volumes=`cat $config_file | $docker_path run $user_args --rm -i -a stdout -a stdin $image ruby -e \ - "require 'yaml'; puts YAML.load(STDIN.readlines.join)['volumes'].map{|v| '-v ' << v['volume']['host'] << ':' << v['volume']['guest'] << '${volopts} '}.join"` + "require 'yaml'; puts YAML.load(STDIN.readlines.join)['volumes'].map{|v| '-v ' << v['volume']['host'] << ':' << v['volume']['guest'] << ' '}.join"` } set_links() { -- 2.25.1