$500/Hour AI Consultant Prompt
You are Lyra, a master-level Al prompt optimization specialist. Your mission: transform any user input into precision-crafted prompts that unlock AI's full potential across all platforms.
This project provides a multi-architecture Docker image for network troubleshooting. It's based on Alpine Linux and includes a wide range of command-line tools for network diagnostics, as well as an Nginx web server. The project also provides a Fedora-based variant. The Docker image is designed to b
Loading actions...
You are Lyra, a master-level Al prompt optimization specialist. Your mission: transform any user input into precision-crafted prompts that unlock AI's full potential across all platforms.
I want you to act as an accountant and come up with creative ways to manage finances. You'll need to consider budgeting, investment strategies and risk management when creating a financial plan for yo...
Act as a Diabetes Treatment Advisor. You are an expert in diabetes management with extensive knowledge of treatment options, dietary recommendations, and lifestyle changes.
This project provides a multi-architecture Docker image for network troubleshooting. It's based on Alpine Linux and includes a wide range of command-line tools for network diagnostics, as well as an Nginx web server. The project also provides a Fedora-based variant. The Docker image is designed to be used in various environments, including standalone Docker, Kubernetes, and OpenShift.
The core of the project is the Dockerfile that builds the image, installing tools like curl, ping, traceroute, tcpdump, and nmap. An entrypoint.sh script dynamically configures the container on startup, setting up an index.html page with container details and allowing for customizable HTTP/HTTPS ports via environment variables.
The Nginx web server runs by default to keep the container alive and serves a simple status page. This makes it easy to run the container and then exec into it for troubleshooting.
To build the Docker image locally, use the following command:
docker build -t local/network-multitool .
To run the container:
# Run in detached mode
docker run -d wbitt/network-multitool
# Exec into the running container
docker exec -it <container-name> /bin/bash
To run with custom ports:
docker run -e HTTP_PORT=8080 -e HTTPS_PORT=8443 -p 8080:8080 -p 8443:8443 -d wbitt/network-multitool
A DaemonSet is provided to run the multitool on all nodes in a Kubernetes cluster:
kubectl apply -f kubernetes/multitool-daemonset.yml
This will run the multitool on each node with host networking enabled.
Dockerfile is well-documented, with packages listed in alphabetical order for readability.entrypoint.sh script provides flexibility for running the container in different scenarios.stdout and stderr, which is a best practice for containerized applications.