devcontainer-management
/devcontainer-management
Pomaga uruchamiać polecenia, testy i skrypty konfiguracyjne w kontenerze deweloperskim NetAlertX oraz diagnozować jego problemy.
- Autor
- netalertx ↗
- Repozytorium
- NetAlertX ↗
- Licencja
- GPL-3.0
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
GPL-3.0, otwarta.
Co robi i kiedy
Pomaga uruchamiać polecenia, testy i skrypty konfiguracyjne w kontenerze deweloperskim NetAlertX oraz diagnozować jego problemy.
Oryginalny opis (EN)
Guide for identifying, managing, and running commands within the NetAlertX development container. Use this when asked to run commands, testing, setup scripts, or troubleshoot container issues.
Jak działa
- Finding the Container
- Running Commands in the Container
Podgląd SKILL.md
---
name: devcontainer-management
description: Guide for identifying, managing, and running commands within the NetAlertX development container. Use this when asked to run commands, testing, setup scripts, or troubleshoot container issues.
---
# Devcontainer Management
When starting a session or performing tasks requiring the runtime environment, you must identify and use the active development container.
## Finding the Container
Run `docker ps` to list running containers. Look for an image name containing `vsc-netalertx` or similar.
```bash
docker ps --format "table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}" | grep netalertx
```
- **If no container is found:** Inform the user. You cannot run integration tests or backend logic without it.
- **If multiple containers are found:** Ask the user to clarify which one to use (e.g., provide the Container ID).
## Running Commands in the Container
Prefix commands with `docker exec <CONTAINER_ID>` to run them inside the environment. Use the scripts in `/services/` to control backend and other processes.
```bash
docker exec <CONTAINER_ID> bash /workspaces/NetAlertX/.devcontainer/scripts/setup.sh
```
*Note: This script wipes `/tmp` ramdisks, ensures `/data`, `/data/config`, `/data/db` exist, and restarts services (python server, cron, php-fpm, nginx) by symlinking and running `/entrypoint.sh` (`install/production-filesystem/entrypoint.d/`). By default it does **not** delete existing database or config content - `entrypoint.d/25-first-run-db.sh` and `20-first-run-config.sh` only wipe them when `ALWAYS_FRESH_INSTALL=true` is set in the environment (default: unset/`false`, so content is preserved).*
```
Wersje
W bazie nie ma innych skilli o nazwie devcontainer-management.
Migawka bazy z 28.10.2026 · wersja paczki 03833a9b46c2 (skrót SHA-256 całej paczki)
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 95netalertx-devcontainer-configs
Generuje pliki konfiguracyjne devcontainer i aktualizuje szablon środowiska programistycznego. - 95netalertx-idempotent-setup
Ponownie przygotowuje i resetuje środowisko devcontainer, naprawia uprawnienia i czyści stan uruchomieniowy. - 100om-dev-container-maintenance
Utrzymuje konfigurację Dev Container w VS Code, naprawia błędy budowania i uruchamiania oraz różnice między kontenerem a lokalnym środowiskiem. - 100devcontainer-setup
Dodaje devcontainer lub izolowane środowisko deweloperskie do repozytorium, które go nie ma, dla Pythona, Node i TypeScript, Rust, Go lub ich połączenia. - 100skillshare-devcontainer
Uruchamia polecenia CLI, testy Go i debugowanie w devcontainerze skillshare, bo CLI działa tylko w kontenerze. - 100devcontainers
Pomaga budować, zmieniać i publikować Dev Containers: devcontainer.json, features, Dockerfile, szablony, publikację w GHCR, CLI devcontainer i diagnozę błędów uruchamiania kontenera.