Sign inSign up

nbrown/curl

By nbrown

Updated almost 3 years ago

Image
1

4.8K

nbrown/curl repository overview

What is this image?

This image simply provides the curl utility inside a Docker image, based on Alpine Linux. It's for when you want to run an arbitrary curl command in a pod/container, and suddenly realise your image doesn't have curl installed.

How to use this image

On a Docker host:

$ docker container run --rm -it nbrown/curl https://httpbin.org/ip
{
  "origin": "142.156.82.165"
}

On a Kubernetes cluster:

$ kubectl run -it --rm curl --restart=Never --image=nbrown/curl -- https://httpbin.org/ip
{                                                                                                                    
  "origin": "142.156.82.165"                                                                                         
}

Tag summary

Content type

Image

Digest

sha256:8123413df

Size

5.1 MB

Last updated

almost 3 years ago

docker pull nbrown/curl