devcontainer-management
This tool uses docker commands to detect development containers, execute scripts within them, reset processes, and troubleshoot issues.
Install
mkdir -p .claude/skills/devcontainer-management && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4558" && unzip -o skill.zip -d .claude/skills/devcontainer-management && rm skill.zipInstalls to .claude/skills/devcontainer-management
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
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.Key capabilities
- →Identify running development containers using `docker ps`
- →Run commands inside a specified development container
- →Execute setup scripts within the container environment
- →Control backend processes using scripts in `/services/`
- →Troubleshoot container-related issues
How it works
It identifies the active development container by listing running Docker containers and then executes specified commands or scripts within that container using `docker exec`.
Inputs & outputs
When to use devcontainer-management
- →Running integration tests within the container
- →Executing backend setup scripts
- →Troubleshooting container service restarts
- →Identifying the correct container ID for task execution
About this skill
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.
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.
docker exec <CONTAINER_ID> bash /workspaces/NetAlertX/.devcontainer/scripts/setup.sh
Note: This script wipes /tmp ramdisks, resets DBs, and restarts services (python server, cron,php-fpm, nginx).
When not to use it
- →No container is found
- →The task does not involve running commands inside a devcontainer
Prerequisites
How it compares
This skill provides a direct method to interact with a specific development container, unlike manually searching for container IDs and typing `docker exec` commands.
Compared to similar skills
devcontainer-management side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| devcontainer-management (this skill) | 1 | 6mo | Review | Beginner |
| docker-expert | 11 | 6mo | Review | Intermediate |
| deployment-engineer | 4 | 4mo | No flags | Advanced |
| devops | 2 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by netalertx
View all by netalertx →You might also like
docker-expert
davila7
Docker containerization expert with deep knowledge of multi-stage builds, image optimization, container security, Docker Compose orchestration, and production deployment patterns. Use PROACTIVELY for Dockerfile optimization, container issues, image size problems, security hardening, networking, and orchestration challenges.
deployment-engineer
sickn33
Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization. Use PROACTIVELY for CI/CD design, GitOps implementation, or deployment automation.
devops
mrgoonie
Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.
ecs
itsmostafa
AWS ECS container orchestration for running Docker containers. Use when deploying containerized applications, configuring task definitions, setting up services, managing clusters, or troubleshooting container issues.
add-install-docker-ci-e2e
RLinf
Adds install command in install script, Docker build stage in Dockerfile, and CI jobs for docker build, install script, and embodied e2e test when introducing a new model or environment in RLinf. Use when adding a new embodied model (e.g. dexbotic), new env (e.g. maniskill_libero), or new model+env combination that should be installable, dockerized, and tested in CI.
k8s-kind
rohitg00
Manage kind (Kubernetes IN Docker) local clusters. Use when creating, testing, or developing with local Kubernetes clusters in Docker containers.