Fixing a copy-cat from original PR.
Docker-DCO-1.1-Signed-off-by: Milos Gajdos <milosgajdos83@gmail.com> (github: milosgajdos83)
This commit is contained in:
parent
b9ad475f6a
commit
fe8937c745
5
Makefile
5
Makefile
|
@ -2,8 +2,9 @@
|
|||
all:
|
||||
docker build -t docker/libcontainer .
|
||||
|
||||
test: build
|
||||
docker run --rm --privileged docker/libcontainer
|
||||
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
|
||||
|
||||
sh:
|
||||
docker run --rm -it --cap-add NET_ADMIN --cap-add SYS_ADMIN -w /busybox docker/libcontainer nsinit exec sh
|
||||
|
|
Loading…
Reference in New Issue