diff options
-rwxr-xr-x | start-container-docker.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/start-container-docker.sh b/start-container-docker.sh index 5f63d54f..fd05b224 100755 --- a/start-container-docker.sh +++ b/start-container-docker.sh @@ -116,10 +116,14 @@ esac DOCKER="docker -H $session_host:2375" $DOCKER pull $image -SECURITY= +SECURITY="--cap-add=SYS_PTRACE" case ${container_arch} in i386) - SECURITY="--security-opt seccomp:unconfined" + # We need this because of a bug in libgo's configure script: + # it would crash when testing "whether setcontext clobbers TLS + # variables", and report neither "no" nor "yes", later making + # configure fail. + SECURITY="${SECURITY} --security-opt seccomp:unconfined" ;; esac |