Binding container port(s) to a specific IP address

By default, when one publishes a port for a container, all interfaces (IP addresses) listen for traffic on that port. There may be instances where we only want to publish the port on a specific IP address. In the many Docker Compose snippets I usually see, the ports section of the configuration looks something like Continue reading Binding container port(s) to a specific IP address