Update README.md

Run the sonic-slave container with  --privileged.
This commit is contained in:
Qi Luo 2016-10-12 10:29:14 -07:00 committed by GitHub
parent d5696f742d
commit 6042f526f2

View File

@ -10,7 +10,7 @@ Build a docker image by [the Dockerfile](https://github.com/Azure/sonic-build-to
git clone https://github.com/Azure/sonic-build-tools git clone https://github.com/Azure/sonic-build-tools
cd sonic-build-tools cd sonic-build-tools
./build.sh sonic-slave ./build.sh sonic-slave
docker run -v /var/run/docker.sock:/var/run/docker.sock -it local/sonic-slave bash docker run -v /var/run/docker.sock:/var/run/docker.sock -it --privileged local/sonic-slave bash
Note that all the below steps should be executed in the docker container, not in the host machine. Note that all the below steps should be executed in the docker container, not in the host machine.