Sign inSign up

anuzellig/linux-nettools

By anuzellig

Updated almost 2 years ago

Ubuntu 22.04 with common network troubleshooting tools included

Image
Networking
Operating systems
0

424

anuzellig/linux-nettools repository overview

linux-nettools

Mosly stolen from github.com/Someguy123/docker-networktools but updated for Ubuntu 22.04 and built for amd64 and arm64. See that repo for more comprehensive documentation. Includes:

  • bash-completion - to make bash tab completion better
  • command-not-found - when you type a command that doesn't exist, it informs you of which package a command is in
  • mtr-tiny - fast and easy to read realtime traceroutes for both IPv4 and IPv6 (tiny version skips all the GTK bloat)
  • dnsutils - provides tools such as dig and nslookup for DNS debugging
  • net-tools - basic networking tools such as ifconfig, netstat, route, arp
  • nmap - port scanning and other network reconnaissance
  • traceroute - self explanatory. alternative to mtr
  • netcat - nc tool. highly versatile TCP/UDP/unixsocket client and server
  • iproute2 - provides the ip and bridge tools for advanced network configs
  • tcpdump - similar to wireshark, but CLI based. for inspecting network packets
  • iputils-ping - for the ping command. supports both IPv4 and v6 in the same binary, instead of ping + ping6
  • isc-dhcp-client - DHCP client for use with macvlan or other networking scenarios. E.g: "dhclient eth0"
  • openssh - server and client. for testing ssh connectivity, and so you may ssh into the container for a better experience
  • tmux - run multiple things in one terminal session, with tabs and split windows
  • screen - similar to tmux, for running things in the background
  • vim/nano - for times when you need a text editor. remember! don't expect files on a container to be persisted. Use a volume.
  • lldpd - runs the LLDP protocol on the client's interfaces and allow you to see LLDP neighbors

root password is "root"

Execute like so:

$ docker run --rm --name nettools  -p 2222:22 -itd anuzellig/linux-nettools
$ docker exec -it nettools bash

Tag summary

Content type

Image

Digest

sha256:737cdac77

Size

146.4 MB

Last updated

almost 2 years ago

docker pull anuzellig/linux-nettools