Sign inSign up

sinlov/docker-net-tools

By sinlov

Updated over 1 year ago

simple image with network troubleshooting utils

Image
Developer tools
0

717

sinlov/docker-net-tools repository overview

docker-net-tools

tagimage
latestalpine:3.20.3
1.0.xalpine:3.20.3

docker version semver docker image size docker pulls

for

  • simple image with network troubleshooting utils
## 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
alpine

install kits:

bash bind-tools curl jq nmap net-tools iperf3 tmux busybox-extras
  • use telnet as:
busybox-extras telnet localhost 6900
fast use
# 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 '
  • use as compose
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

Tag summary

Content type

Image

Digest

sha256:cf9aa7dfc

Size

14.9 MB

Last updated

over 1 year ago

docker pull sinlov/docker-net-tools