From e8668db789d01c1a72d456d3fb0b09e9041ceee6 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Wed, 29 Jul 2015 23:02:29 -0700 Subject: [PATCH] app-emulation/docker: add some hacking instructions --- .../app-emulation/docker/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sdk_container/src/third_party/coreos-overlay/app-emulation/docker/README.md diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/README.md b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/README.md new file mode 100644 index 0000000000..1d9b29ccf3 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/README.md @@ -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 +```