From aeba315e441afde33f7bb1b224b88f5b0839d920 Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Tue, 6 Sep 2016 14:53:46 +0800 Subject: [PATCH] Add privileged to make dbuild So we don't get `mount: permission denied` when make dbuild. Signed-off-by: Qiang Huang --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1e98a90a..266eb93c 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ $(RUNC_LINK): ln -sfn $(CURDIR) $(RUNC_LINK) dbuild: runcimage - docker run --name=$(RUNC_INSTANCE) $(RUNC_IMAGE) make + docker run --name=$(RUNC_INSTANCE) --privileged $(RUNC_IMAGE) make docker cp $(RUNC_INSTANCE):$(RUNC_BUILD_PATH) . docker rm $(RUNC_INSTANCE)