The docker image is hosted at
You can run the latest version of curl with the following command:
docker run -it --rm curlimages/curl

Running curl seamlessly in docker

It is possible to make an alias to seamlessly run curl inside a container. Define an alias like the following:
# Bash alias example
alias curl='docker run -it --rm curlimages/curl'
And simply invoke curl to make a request

Running curl in kubernetes

Sometimes it can be useful to troubleshoot k8s networking with curl, just like :
kubectl run -i --tty curl --image=curlimages/curl --restart=Never -- "-m 5"
Last modified 7mo ago