Closed rdhyee closed 10 years ago
Yes, you should run it inside boot2docker since it twiddles with iptables rules that, as written, are Linux-specific (or that's the only place I've tested them).
I've updated the code to avoid a problem I encountered testing this with b2d (factored out an Ubuntu-specific assumption).
Also, you'll want to explicitly create a cache directory somewhere and invoke with:
CACHEDIR=/path/to/cachedir sh ./run-docker-proxy-cache.sh
Also, you may want to make sure you are running the latest b2d 1.2.0 since it has fixes for sudo that may be required (I haven't tested it on earlier b2d versions).
I was about to do ./run-docker-proxy-cache.sh in the Mac shell but then thought that I should be doing this inside the boot2docker VM. Is that right, @aculich ?