set privileged=true when running container

so we are not failing with selinux
This commit is contained in:
Chmouel Boudjnah 2014-09-05 17:14:38 +00:00
parent 2521f0bae7
commit 6626d18a50
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ class Runner(object):
def run_commands(self, command):
self._docker_run(
'--privileged=true',
'--rm', '--user=%s' % os.getlogin(),
'-v', "%s:/src" % os.path.abspath('.'),
'-w', '/src', self.test_image_name, *command)