3 ms·
I'm really looking forward to this book. Question, how do you deal with users outside of Linux host regarding shared folders. I'm using boot2docker, but it's pa
by zkanda 12y ago
I'm really looking forward to this book. Question, how do you deal with users outside of Linux host regarding shared folders. I'm using boot2docker, but it's painfully slow if my code base is large(10kloc).
- zwily 12y agoTake a look at https://github.com/codekitchen/dinghy https://github.com/codekitchen/dinghy
- zkanda 12y agoThis is exactly what I'm looking for. Thanks. :)
- skj 12y agoAre you doing a COPY to get it all in? Another thing you can try is to use a builder image, where you mount your source in as a volume (ie don't copy), and that build image makes a new Dockerfile+binary that you can build into a much smaller image for deploying. I wrote a bit about this process here: http://gowithconfidence.tumblr.com/post/112715890281/vendoring-with-docker http://gowithconfidence.tumblr.com/post/112715890281/vendori...
- zwischenzug 12y agoI'm not sure I properly understand you, but we look at using sshfs for mounting local folders directly into the container. It's a neat hack that bypasses a lot of setup with NFS or other shared folder tools, assuming you have an ssh setup in place. Needless to say, we used it at work.