Add privileged to make dbuild

So we don't get `mount: permission denied` when make dbuild.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
Qiang Huang 2016-09-06 14:53:46 +08:00
parent 7b0b628a9b
commit aeba315e44
1 changed files with 1 additions and 1 deletions

View File

@ -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)