Merge pull request #1415 from philips/add-docker-hacking-instructions

app-emulation/docker: add some hacking instructions
This commit is contained in:
Brandon Philips 2015-07-30 05:44:02 -07:00
commit e947ba4cba

View File

@ -0,0 +1,17 @@
## Tips and Tricks
To hack on docker and develop a patch do these steps:
```
git clone https://github.com/docker/docker
cd docker
ln -s ../../../../ vendor/src/github.com/docker/docker
./hack/make.sh dynbinary
```
Then add some symlinks:
```
ln -s $PWD/bundles/VERSION-OF-DOCKER-dev/dynbinary/docker /usr/local/bin/docker
ln -s $PWD/bundles/VERSION-OF-DOCKER-dev/dynbinary/dockerinit /usr/local/bin/dockerinit
```