Skip to content

Commit

Permalink
add instruction to pull sonic-slave image from docker registry
Browse files Browse the repository at this point in the history
  • Loading branch information
lguohan authored Dec 1, 2016
1 parent c4f0833 commit 154b281
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ Build a docker image by [the Dockerfile](https://github.com/Azure/sonic-build-to
cd sonic-build-tools
./build.sh sonic-slave
docker run -v /var/run/docker.sock:/var/run/docker.sock -it --privileged local/sonic-slave bash


You can also download sonic-slave docker from sonicdev docker registry using following command:

docker login -u 1dafc8d7-d19c-4f58-8653-e8d904f30dab -p sonic sonicdev-microsoft.azurecr.io:443
docker pull sonicdev-microsoft.azurecr.io:443/sonic-slave
docker run -v /var/run/docker.sock:/var/run/docker.sock -it --privileged sonicdev-microsoft.azurecr.io:443/sonic-slave bash

Note that all the below steps should be executed in the docker container, not in the host machine.

## 2. Clone or fetch the code repository with all git submodules
Expand Down

0 comments on commit 154b281

Please sign in to comment.