Lightweight Docker image for cURL
It’s curlimages/curl
which its compressed size is less than 10 MB.
I often get confused with Docker networks and hostnames, so to test I’m using this one-liner.
docker run -it --network=$NETWORK --rm curlimages/curl "$HOST:$PORT"
Replace variables with your network name, host, and port.