Basic information
About netalertx-docker-build
Build Docker images for testing or production. Use this when asked to build container, build image, docker build, build test image, or launch production container.
netalertx-docker-build is an agent skill listed in the AddMCP.net directory, published by netalertx. Runtime: Python. License: GPL-3.0. The repository has 7,348 GitHub stars. Source code is hosted on github.com. Related topics: arp-scan, asset-management, dcim, ipam, network-analysis.
Overview
What is netalertx-docker-build?
name: netalertx-docker-build description: Build Docker images for testing or production. Use this when asked to build container, build image, docker build, build test image, or launch production container.
Docker Build
Build Unit Test Image
Required after container/Dockerfile changes. Tests won't see changes until image is rebuilt.
docker buildx build -t netalertx-test .
Build time: ~30 seconds (or ~90s if venv stage changes)
Build and Launch Production Container
Before launching, stop devcontainer services first to free ports.
cd /workspaces/NetAlertX
docker compose up -d --build --force-recreatePre-Launch Checklist
- Stop devcontainer services:
pkill -f 'php-fpm83|nginx|crond|python3' - Close VS Code forwarded ports
- Run the build command
Production Container Details
- Image:
netalertx:latest - Container name:
netalertx - Network mode: host
- Ports: 20211 (UI), 20212 (API/GraphQL)
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In