Bug: Ports forwarded from docker processes started inside the container are accesible from the host, but not by other processes inside the container.
- In VS Code, "Rebuild and Reopen in Container"
- In a dev container terminal:
./works.sh
. - Open
http://localhost:8000
in your browser -- it should load. - In a second dev container terminal, run
./test_connectivity.sh
-- it should pass - In the first terminal, kill
./works.sh
and run./broken.sh
- Open
http://localhost:8000
in your browser again -- it should still load. - In the second terminal, run
./test_connectivity.sh
again -- this time, it will fail.