brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

tips

~/tips/jq
All tips

20 tips Jq

One command, setting or habit at a time about Jq: what it does, the line to copy and a caveat or two.

Text processing 12

Scripting 6

Network and DNS 2

  • See which subnet a Docker network uses and which address each container got.

    docker network inspect $(docker network ls -q) \
  • Prints network information as JSON so a script can read an address reliably.

    ip -j addr show eth0 | jq -r '.[0].addr_info[] | select(.family=="inet") | .local'