Merge pull request #164 from crosbymichael/use-privilged
Use --privileged in Makefile
This commit is contained in:
commit
1ecaf30408
4
Makefile
4
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue