summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-01-11 18:34:50 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-01-11 18:34:50 +0100
commit0b5b21bfd8442391b9936e7ef88d628f632fbb2d (patch)
tree4d03cc02f3fa952b3f5d751f22162995686913cb
parentd15f113e92cbb821d364b88827c761ec64e67338 (diff)
run docker in sudo mode to pass key for apex
Change-Id: I88fdcb014a11dd1a78a4dec1b28dcfff07970cfe Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
-rw-r--r--jjb/functest/functest-ci-jobs.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/functest/functest-ci-jobs.yml b/jjb/functest/functest-ci-jobs.yml
index bd7affef3..3c993c6a3 100644
--- a/jjb/functest/functest-ci-jobs.yml
+++ b/jjb/functest/functest-ci-jobs.yml
@@ -208,7 +208,7 @@
$res_volume="-v ${dir_result}:/home/opnfv/functest/results"
docker pull opnfv/functest:latest_stable
- cmd="docker run -id -e $envs ${labconfig} ${sshkey} ${res_volume} opnfv/functest:latest_stable /bin/bash"
+ cmd="sudo docker run --privileged=true -id -e $envs ${labconfig} ${sshkey} ${res_volume} opnfv/functest:latest_stable /bin/bash"
echo "Functest: Running docker run command: ${cmd}"
${cmd}
docker ps -a