aeciopires / nettools

A simple and small Docker image with some handy networking tools installed

Home Page:https://hub.docker.com/r/aeciopires/nettools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nettools

About

A simple and small Docker image with some handy networking tools installed.

Reference:

Repository in Docker Hub:

Attention!!! This image supports the linux/amd64, linux/arm/v6, linux/arm/v7, and linux/arm64 processor architectures

Tools:

  • vim
  • nano
  • elinks
  • net-tools
  • conntrack-tools
  • coreutils
  • curl
  • wget
  • drill
  • iperf3
  • iproute2
  • iptables
  • iputils
  • ip6tables
  • keepalived
  • nftables
  • socat
  • netcat-openbsd
  • bind-tools
  • ethtool
  • mtr
  • tcpdump
  • lshw
  • nmap

Please see the Dockerfile for a complete list of tools.

Run this image

In Docker container:

docker run -it --rm --name nettools aeciopires/nettools:1.0.0 bash

In Kubernetes cluster:

Access the Kubernetes cluster and run this command.

kubectl run --rm -it nettools-$(< /dev/urandom tr -dc a-z-0-9 | head -c${1:-4}) --image=aeciopires/nettools:1.0.0 -n default -- bash

Creating alias nettools with this command:

echo "alias nettools='kubectl run --rm -it nettools-\$(< /dev/urandom tr -dc a-z-0-9 | head -c${1:-4}) --image=aeciopires/nettools:1.0.0 -n default -- bash'" >> $HOME/.bashrc
source $HOME/.bashrc

nettools

Contributing

Updating this image

  • Change the Dockerfile.

  • Change the value of the VERSION variable in nettools/Makefile file.

  • Commands to build the image:

cd nettools

make image

Commands to run a container:

cd nettools

make container

Publishing the image

Option 1

  • Create or access your account in Docker Hub and create the repository for custom image. Example: https://hub.docker.com/r/DOCKER_HUB_ACCOUNT/nettools.

  • Create a git tag and send it to the remote repository. The image will be built for various processor architectures and pushed to Docker Hub.

Option 2

cd nettools

make publish

License

About

A simple and small Docker image with some handy networking tools installed

https://hub.docker.com/r/aeciopires/nettools

License:GNU General Public License v3.0


Languages

Language:Makefile 67.9%Language:Dockerfile 32.1%