simple image with network troubleshooting utils
717
| tag | image |
|---|---|
| latest | alpine:3.20.3 |
| 1.0.x | alpine:3.20.3 |
## tmux
# create new session
tmux new -t net-tools
# attach to session
tmux at -t net-tools
## nc
nc -zv [ip] [port]
nc -zuv [ip] [port]
## ping
ping -c 3 [ip]
## curl
curl -v https://httpbin.org/status/200
## iperf3
# server
iperf3 -s
iperf3 -s --port 59980
# client
iperf3 -p 5201 -c [server ip]
iperf3 -p 5201 -c [server ip] -R
install kits:
bash bind-tools curl jq nmap net-tools iperf3 tmux busybox-extras
busybox-extras telnet localhost 6900
# use as tty
docker run --rm -it \
--entrypoint /bin/bash \
--name "test-docker-net-tools" \
sinlov/docker-net-tools:latest
# see versions
docker run --rm \
sinlov/docker-net-tools:latest \
bash -c ' \
uname -asrm && \
cat /etc/os-release && \
jq --version && \
curl --version && \
nmap --version && \
bash --version '
services:
utils-net-tools:
container_name: 'utils-net-tools'
# https://hub.docker.com/r/sinlov/docker-net-tools/tags
image: 'sinlov/docker-net-tools:1.0.0-alpine'
command: curl -s https://httpbin.org/status/200
Content type
Image
Digest
sha256:cf9aa7dfc…
Size
14.9 MB
Last updated
over 1 year ago
docker pull sinlov/docker-net-tools