Connect the Microservices

Fix name resolution between containers with a user-defined network.

A advanced Docker challenge worth 20 points. Solve it hands-on in a real Docker environment in your browser - no local setup, no fake shells.

The Challenge

Scenario: The web nginx proxy forwards to http://api/ — and keeps crashing with "host not found in upstream". Both containers sit on Docker's default bridge, where container names don't resolve.

Tasks:

Commands to learn: docker network create, docker run --network, embedded DNS

Run check when done.