From 0a044b236597594d20ccd5c8808f253e844f7b9c Mon Sep 17 00:00:00 2001 From: divyenpatel Date: Thu, 3 Nov 2016 13:10:47 +0530 Subject: [PATCH] Update Contributing.md Adding instructions for configuring Photon OS VMs to accept traffic on port 2375 for docker connections. --- CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5ab5f4afa..78f9fb1c4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -94,6 +94,13 @@ options. Note that both tcp: and unix: need to be present Please check "Configuring and running Docker" (https://docs.docker.com/engine/admin/configuring/) page on how to configure this - also there is a github link at the bottom, for systemd config files. +If test environment has Docker running on Photon OS VMs, VMs should be configured to accept traffic on port 2375. Edit /etc/systemd/scripts/iptables, and add following rule at the end of the file. Restart iptable service after updating iptables file. + +``` +#Enable docker connections +iptables -A INPUT -p tcp --dport 2375 -j ACCEPT +``` + To deploy the plugin and test code onto a test environment we support a set of Makefile targets. There targets rely on environment variables to point to the correct environment.