DevOps Automation Cookbook by 2015

DevOps Automation Cookbook by 2015

Author:2015
Language: eng
Format: mobi, epub
Publisher: Packt Publishing


As we are no longer mapping a port, Docker cannot take care of configuring the IP Tables for use. Due to that, you will need to insert a new rule to allow traffic to reach the service running in the container. You can do this by using the following command: iptables -I INPUT 5 -p tcp -m tcp --dport <serviceport> -j ACCEPT

Substitute <<serviceport>> with the TCP port number of the service that you're running on.

See also

You can find more information on advanced Docker networking techniques at: https://docs.docker.com/articles/networking/.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.