Przejdź do treści
Biblioteka skilli
DevOps i chmura · Integracja z narzędziem

devcontainer-management

/devcontainer-management

Pomaga uruchamiać polecenia, testy i skrypty konfiguracyjne w kontenerze deweloperskim NetAlertX oraz diagnozować jego problemy.

Repozytorium
NetAlertX ↗
Licencja
GPL-3.0
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

95/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść30 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

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

  1. Finding the Container
  2. Running Commands in the Container
Sekcje z nagłówków SKILL.md, w oryginale · 28 linii, 185 słów
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.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.