Menu

#Mareksuppa

1 post

Feed
1 of 1 post
Making HTTP requests from a container that has no curl, using bash /dev/tcp
📰
543

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

Hacker News·4 months ago
#EmOEcqyO
#mareksuppa#bash#service#socket#port#article

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.

15s
Read More