Docker : How to find the network my container is in?

To see what network(s) your container is on, assuming your container is called c1: $ docker inspect c1 -f “{{json .NetworkSettings.Networks }}” To disconnect your container from the first network (assuming your first network is called test-net): $ docker network disconnect test-net c1 Then to reconnect it to another network (assuming it’s called test-net-2): $ … Read more

TCP vs UDP on video stream

Drawbacks of using TCP for live video: As you mentioned, TCP buffers the unacknowledged segments for every client. In some cases this is undesirable, such as TCP streaming for very popular live events: your list of simultaneous clients (and buffering requirements) are large in this case. Pre-recorded video-casts typically don’t have as much of a … Read more

Best TCP port number range for internal applications [closed]

I decided to download the assigned port numbers from IANA, filter out the used ports, and sort each “Unassigned” range in order of most ports available, descending. This did not work, since the csv file has ranges marked as “Unassigned” that overlap other port number reservations. I manually expanded the ranges of assigned port numbers, … Read more

Wireshark localhost traffic capture [closed]

If you’re using Windows it’s not possible – read below. You can use the local address of your machine instead and then you’ll be able to capture stuff. See CaptureSetup/Loopback. Summary: you can capture on the loopback interface on Linux, on various BSDs including Mac OS X, and on Digital/Tru64 UNIX, and you might be … Read more