Skip to content

Commit

Permalink
docker: Use unconfined security profile
Browse files Browse the repository at this point in the history
Some by default blocked syscalls are required to run tests for example
userfaultfd.

Reviewed-by: Kashyap Chamarthy <kchamart@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170905025614.579-4-famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Based-on: 20170905021201.25684-1-famz@redhat.com
  • Loading branch information
Fam Zheng committed Sep 22, 2017
1 parent 82659e8 commit 4470749
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/docker/Makefile.include
Expand Up @@ -145,6 +145,7 @@ docker-run: docker-qemu-src
$(call quiet-command, \
$(SRC_PATH)/tests/docker/docker.py run \
$(if $(NOUSER),,-u $(shell id -u)) -t \
--security-opt seccomp=unconfined \
$(if $V,,--rm) \
$(if $(DEBUG),-i,) \
$(if $(NETWORK),$(if $(subst $(NETWORK),,1),--net=$(NETWORK)),--net=none) \
Expand Down

0 comments on commit 4470749

Please sign in to comment.