Hot answers tagged

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 ...
rok's user avatar
  • 241
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'...
John Humphreys's user avatar
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 ...
GChuf's user avatar
  • 111
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?
Ta Mu's user avatar
  • 6,802
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.
BMitch's user avatar
  • 3,230

Only top scored, non community-wiki answers of a minimum length are eligible