I created a docker container and tried pinging www.google.com in the container bash and it works. Also I tried to ping the container from the host - it works fine.
But when I try to ping a container from an external system on the network, it gives me an exception with a request.
I plan to install the tomcat web server on a container and allow other containers to access the application deployed on the server. Thank you for your help!
Docker ( , Docker -docker0- IP-, Docker ).
, Docker, "" ( Docker) . / , .
, Tomcat (, 8080) 80 , , -p:
-p
docker run -d -p 80:8080 my-tomcat-image:tag
Tomcat , .
Source: https://habr.com/ru/post/1544041/More articles:VBScript gets results from Shell - scriptingVBScript - Capturing output from stdout - stdoutiOS 7.1 CommonCrypto library complains: implicit conversion loses its whole precision: "NSUInteger" (unsigned long) to CC_LONG (unsigned int) - iosHome and Security Java Web - javaJava Webstart: using certificate with users - javaCopy the contents of all files to one file in bash in another sequence - bashCan this find / replace done with one regex? - regexCannot import certificate into java control panel - javaXSettings request manager for the icon - cRegEx in Excel VBA Matching extended ASCII characters incorrectly - vbaAll Articles