Campfire
Archive Tags About

Making HTTP requests from a container that has no curl, using bash /dev/tcp

Visit link →
Screenshot of Making HTTP requests from a container that has no curl, using bash /dev/tcp
Minimal container images often ship without curl, wget, or any HTTP client at all. Bash can open a TCP socket through /dev/tcp, which is enough to write a tiny HTTP/1.1 request by hand for quick checks.
June 18, 2026
docker containers networking troubleshooting
Permalink: 2026/w25/making-http-requests-from-a-container-that-has-no-curl-using

Related Links

  • You Should be Using Rootless Containers containers docker
  • Host a Minecraft Server for Your Friends Without Opening a Single Port docker networking
  • The Reverse Proxy Mistakes I Still See in Home Labs (And How I Avoid Them) docker networking
  • Fixing My DNS with Technitium docker networking
  • Migrating from Unifi UXG-Lite to Express 7 networking docker
← Back to Week 25

© 2026 Timo Sugliani · Weekly curated links, shared around the tech campfire