/docker-curl

curl in a container

Primary LanguageShellOtherNOASSERTION

We ahead's curl in a container

Simple Alpine container with curl.

Example usage

# Redirect output to file on local disk
docker run --rm weahead/curl -sL https://example.com > output.html

# Download to file on local disk
docker run --rm -v $PWD:/data weahead/curl -sL https://example.com -o /data/output.html

# Download to file on other volume
docker run --rm -v destination-volume:/data weahead/curl -sL https://example.com -o /data/output.html

License

X11