Sudo curl -L git.io/weave -o /usr/local/bin/weaveĭocker for Mac installed locally (similar steps can be followed if connecting from a Linux machine). ![]() Weave binary on local and remote machine: Weave creates an overlay network to connect containers across multiple hosts together, which is very useful when distributing containers across a Swarm cluster. The first thing I tested with the Docker for Mac beta was Weave integration. I wanted something better that would speed up my dev and debugging flow. My dev machine is a Mac, so most of the tools we use locally don’t work on Linux. I could set up a bunch of SSH tunnels to connect to all the remote services, but our stack changes too frequently and finding IP addresses for each service is a pain. In my workflow, I usually create a WIP git commit, push it to staging, and try to debug with the Ubuntu server’s limited tools. This article shows how we use Docker for Mac with Weave (an overlay network) to connect our local machine to our remote staging environments. ![]() Often, I need to debug a service on a staging environment. ![]() Integration testing and debugging many microservices can be painful.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |