#!/bin/sh # Client containers get their IP from Docker (compose ipv4_address), but the # client network is `internal: true` so there's no Docker-provided gateway - # point the default route at the local B-router instead. set -e ip route add default via "$GATEWAY" exec sleep infinity