HUB
Sign inSign up
osbox logo

lqdflying/osbox

By lqdflying

•Updated 12 days ago

image tools including all the necessary command line tools

Image
Developer tools
0

2.2K

lqdflying/osbox repository overview

⁠osbox — general network troubleshooting toolbox

Current build: 5.0 — Debian 13 (trixie), SSH-accessible general network diagnostics with Python 3.13, pip, requests and jq. Azure-specific tooling lives in the separate lqdflying/azurebox⁠ image, which is built FROM osbox.

Published on Docker Hub:

  • lqdflying/osbox:5.0
  • lqdflying/osbox:latest
  • digest sha256:3ecafacc1740fa0f09dd6974838c5f4fa49d77c478f546e0837296b80233da1e
  • compressed size ~193 MiB (local image ~588 MB)
  • Earlier tags: 4.1, 4.0, 3.2, 2.5. The 4.2 tag (Azure feature set) and the old latest were removed on 2026-11-15; that image remains available as lqdflying/azurebox:1.0.

⁠Toolset (5.0)

CategoryTools
Discovery / connectivitynmap, netcat-openbsd (nc), socat, mtr, tcptraceroute, httping, arping
DNS / web / TLSbind9-dnsutils (dig, nslookup), bind9-host (host), whois, curl, wget, openssl
Packet capture / decodetcpdump, tshark (Wireshark CLI), ngrep
Throughput / link / socketsiperf3, ethtool, lsof, ipcalc, nload, iftop
Firewall / NAT / bridgesconntrack, iptables, nftables (nft), bridge-utils (brctl)
System diagnosticsstrace
Core routing / interfacesiproute2 (ip, ss), net-tools (ifconfig, netstat), iputils-ping, traceroute
Legacy clientsinetutils-telnet, tnftp
PythonPython 3.13, pip, venv, requests, jq
Access / editingopenssh-server, openssh-client, sudo, vim

osbox deliberately does not include the Azure CLI, PostgreSQL clients, or the Azure protocol packages. Those are added in azurebox⁠, which derives from this image.

For host-network diagnostics, run with host networking and the capabilities you need (be careful — this can inspect or alter host networking):

docker run --rm -it --network host --cap-add NET_ADMIN --cap-add NET_RAW \
  --entrypoint /bin/bash lqdflying/osbox:5.0

NET_RAW is in Docker's default capability set; NET_ADMIN is needed for things like iptables/nft/conntrack changes. Capture tools (tcpdump, tshark, ngrep) work with the default NET_RAW.

⁠SSH behavior

  • Entrypoint /start.sh generates a random password at every start, writes it to /tmp/password.txt, sets it for liuqd and root, prints it to the container log, then runs /usr/sbin/sshd -D.
  • User liuqd (UID/GID 1000, /bin/bash) has passwordless sudo.
  • /etc/ssh is a volume (host keys/config persist across container recreate).
  • PermitRootLogin yes, password authentication enabled, pubkey authentication enabled.
  • SSH sessions do not inherit the container's environment (PermitUserEnvironment no); for AKS workload-identity testing use kubectl exec or docker exec.

⁠Build

cd /root/osbox
docker build -t lqdflying/osbox:5.0 .
# or: ./build.sh

⁠Run

docker run -d --name osbox \
  -p 127.0.0.1:2222:22 \
  -v osbox-ssh:/etc/ssh \
  lqdflying/osbox:5.0

docker logs osbox | grep -i password
ssh -p 2222 [email protected]

Or docker compose up -d --build (loopback port 2222 by default).

⁠Push

docker tag lqdflying/osbox:5.0 lqdflying/osbox:latest
docker push lqdflying/osbox:5.0
docker push lqdflying/osbox:latest

⁠Image relationships

  • osbox is the base image: general network tools, SSH setup, Python 3.13/pip, requests, jq.
  • azurebox is derived with FROM lqdflying/osbox:5.0 and adds Azure CLI, PostgreSQL 17 client, psycopg, qpid-proton, PyJWT and cryptography. Rebuild and push osbox first when changing shared/general tooling.

⁠5.0 changes

  • Repo split: Azure-specific tooling moved to lqdflying/azurebox:1.1, which is now built FROM lqdflying/osbox:5.0.
  • Removed azure-cli, postgresql-client, python3-psycopg, python3-qpid-proton, python3-jwt and python3-cryptography.
  • Kept Python 3.13, pip, python3-venv, python3-requests and jq.
  • Removed the 4.2 tag and the old latest; the 4.2 image remains available as lqdflying/azurebox:1.0.
  • Pushed 5.0 and latest (digest sha256:3ecafacc1740fa0f09dd6974838c5f4fa49d77c478f546e0837296b80233da1e).

⁠4.2 changes (historical, now azurebox)

  • Added Python 3.13, pip, python3-venv, jq and protocol-level Azure clients (requests, psycopg, qpid-proton, PyJWT, cryptography); no azure-* SDK.
  • This feature set was migrated to lqdflying/azurebox on 2026-11-15.

⁠4.1 changes (historical)

  • Added azure-cli (az) from Microsoft's apt repository and postgresql-client 17.
  • Added ca-certificates and gnupg for the Microsoft repository keyring.

⁠4.0 changes (historical)

  • Base upgraded: Debian 12 bookworm → Debian 13 trixie.
  • Added the network diagnostics/toolbox listed above; replaced transitional package names.

⁠Workspace files

FilePurpose
DockerfileBuild for 5.0
start.shEntrypoint (random password + sshd)
sshd_configOriginal modified sshd config
sudouserSudoers entry for liuqd
vimrc.*Root/liuqd vim config
docker-compose.ymlRun example (loopback port 2222)
build.shBuild helper
CHANGELOG.mdVersion history

Tag summary

Content type

Image

Digest

sha256:3ecafacc1…

Size

192.7 MB

Last updated

12 days ago

docker pull lqdflying/osbox