Pin the IP

Give a container a fixed address on a custom subnet.

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

The Challenge

Scenario: The ancient firewall in front of the mainframe allows exactly ONE source address: 172.28.0.50. Dynamic container IPs won't cut it.

Tasks:

Commands to learn: docker network create --subnet, docker run --ip

Run check when done.