From 29a79f70922e194db37df469e72db9033d24d74e Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Mon, 25 Aug 2014 11:03:59 -0700 Subject: [PATCH] Use --privileged in Makefile We need --privileged for apparmor based systems until we have an apparmor specific flag to set the profile to unconfined. Signed-off-by: Michael Crosby --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d6852b24..4744c5ef 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,10 @@ all: test: # we need NET_ADMIN for the netlink tests and SYS_ADMIN for mounting - docker run --rm -it --cap-add NET_ADMIN --cap-add SYS_ADMIN docker/libcontainer + docker run --rm -it --privileged docker/libcontainer sh: - docker run --rm -it --cap-add NET_ADMIN --cap-add SYS_ADMIN -w /busybox docker/libcontainer nsinit exec sh + docker run --rm -it --privileged -w /busybox docker/libcontainer nsinit exec sh GO_PACKAGES = $(shell find . -not \( -wholename ./vendor -prune \) -name '*.go' -print0 | xargs -0n1 dirname | sort -u)