🧩 Diagnose and fix misconfigured container networks! For each scenario, identify the best command or fix that resolves the issue. Learn as you go using real-world Docker networking tasks.
Scenario 1: You're trying to access a web app running in a Docker container at port 8080 from your browser, but it times out.
What's the fix?
Scenario 2: Two containers need to communicate over an internal Docker bridge network, but ping fails.
What's the likely fix?
Scenario 3: A container can't resolve DNS names to external services.
What's a possible solution?