Skip to content

Run exercises that expose ports on a network without internet access - #355

Merged
AydinHassan merged 2 commits into
masterfrom
sandbox-network
Oct 24, 2026
Merged

AydinHassan merged 2 commits into
masterfrom
sandbox-network

Conversation

@AydinHassan

@AydinHassan AydinHassan commented Oct 24, 2026 •

Copy link
Copy Markdown
Member
  • deploy.php creates the php-school-sandbox Docker network if it doesn't exist yet. It has no internet access.
  • CloudInstalledWorkshop passes that network to php-workshop, so exercises that expose ports, like Time Server, run on it.
  • Updates php-workshop, which also fixes running exercises (Fix running exercises in the sandbox聽php-workshop#335).

Tested locally with the Docker sandbox: run and verify pass for 22 of 24 exercises, Time Server included. The other two are composer exercises, which my test script can't install.

Base automatically changed from hardening to master October 24, 2026 18:58
Also pulls in the php-workshop fix for running exercises.
@AydinHassan AydinHassan changed the title Create the sandbox network on deploy Run exercises that expose ports on a network without internet access Oct 24, 2026
@AydinHassan
AydinHassan merged commit efa0c22 into master Oct 24, 2026
3 checks passed
@AydinHassan
AydinHassan deleted the sandbox-network branch October 24, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant