3
votes
How to generate a list of every external URL accessed during docker build?
One thing that pops my mind is using either of Wireshark, tshark, or tcpdump for capturing network packets originating at docker daemon while docker build is running.
After recording the traffic, need ...
2
votes
How can you map DNS/host names to their IPs at scale?
There may be other ways to achieve this. But the most elegant way we found was using python's socket library.
You can get all the info in a one liner, and extract it into a list in another line. It'...
1
vote
How to generate a list of every external URL accessed during docker build?
You could start with something like this (tcpdump):
tcpdump -q ip and ip6 and dst port 80 or 443 > tcpdump.log
This should capture all outgoing ipv4 and ipv6 traffic, to destiation ports 80 and ...
1
vote
How to generate a list of every external URL accessed during docker build?
Maybe you could use some local redirecting proxy service and patch your localhosts file to get all requests caught there?
1
vote
Accepted
How to link containers in a "icc=false" bridge?
icc=false means that inter-container communications are not allowed. If you want to allow inter-container communications, you need to run your containers on a network without this setting.
Only top scored, non community-wiki answers of a minimum length are eligible