I needed to capture the exact HTTP request being sent from a container to an API. This is how I logged it.
My ISP uses a CODA modem. NAT loopback is not supported, preventing access to my self-hosted services via the WAN IP from within the network. But who says that the connection needs to go as far as the modem?
Docker command line is fine for managing containers but sometimes a visual interface can be more convenient. Portainer offers exactly this.