Proxy your Android emulator and iOS simulator to your local Docker stack
One command handles the certificate and the routing. The interesting part is why it takes fourteen steps by hand. TL;DR: Point the device at an HTTPS proxy running on your Mac. The proxy does the DNS lookup, so your Mac’s /etc/hosts becomes the single source of truth for routing. The device only needs to trust one…