Skip to content

fix: CTF challenge lifecycle status#15

Merged
niklashaug merged 10 commits into
mainfrom
fix-challenge-lifecycle-status
May 5, 2026
Merged

fix: CTF challenge lifecycle status#15
niklashaug merged 10 commits into
mainfrom
fix-challenge-lifecycle-status

Conversation

@niklashaug
Copy link
Copy Markdown
Owner

Fixes the lifecycle status so it automatically shows "Starting", "Started" and "Stopped" status in the UI.

docker inspect "$1" --format '{{range $k,$v := .NetworkSettings.Networks}}{{$k}} {{end}}' 2>/dev/null | grep -q "$2"
}

cleanup_router_state() {
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ich hatte hier beim erneuten Start der Challenge Probleme wenn ein Docker Netzwerk noch da war und noch nicht ganz angebaut

@niklashaug niklashaug requested a review from frnzfk May 5, 2026 08:13
@niklashaug
Copy link
Copy Markdown
Owner Author

@frnzfk hab den openwrt test container und die test-router.sh rausgenommen, kannst gern mal drüberschauen

@niklashaug niklashaug requested a review from zierh May 5, 2026 08:16
niklashaug and others added 5 commits May 5, 2026 11:40
landing page was not reachable with network mode host
the docker socket under /var/run was not the one beeing used in NixOS.
This prevented the use of docker to start the open-wrt container for the
'Time Travelers Update'-CTF challenge from inside the landing page
container.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@niklashaug niklashaug merged commit 7fbc61e into main May 5, 2026
7 of 8 checks passed
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.

2 participants