official docker image for curl - command line tool and library for transferring data with URLs
44f9a5eb
6.1 MB
7 days ago
4.3B
Name
Layer
Last update
about 1 month ago
about 1 month ago
about 1 month ago
about 1 month ago
about 1 month ago
about 1 month ago
about 1 month ago
about 1 month ago
about 1 month ago
about 1 month ago
about 1 month ago
about 1 month ago
Readme

Official curl docker images

These are the official curl images generated by the curl docker team (curl-docker at haxx.se) or contact Jim Fuller (jim at webcomposite.com)

Supported tags and respective Dockerfile links

Quick reference

What is Curl ?

curl is a command line tool and library for transferring data with URLs.

curl is used in command lines or scripts to transfer data. It is also used in cars, television sets, routers, printers, audio equipment, mobile phones, tablets, settop boxes, media players and is the internet transfer backbone for thousands of software applications affecting billions of humans daily.

Supports the following protocols (so far!):.

DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, HTTP/2, cookies, user+password authentication (Basic, Plain, Digest, CRAM-MD5, NTLM, Negotiate and Kerberos), file transfer resume, proxy tunnelling and more.

How to use this image

getting docker image

To pull the latest version:

> docker pull curlimages/curl:7.83.1

run docker image

Check everything works properly by running:

> docker run --rm curlimages/curl:7.83.1 --version

Here is a more specific example of running curl docker container:

> docker run --rm curlimages/curl:7.83.1 -L -v https://curl.haxx.se 

To work with files it is best to mount directory:

>  docker run --rm -it -v "$PWD:/work" curlimages/curl -d@/work/test.txt https://httpbin.org/post

Build

This version of curl built with the following configure options

--enable-static --disable-ldap --enable-ipv6 --enable-unix-sockets --with-ssl --with-libssh2 --with-nghttp2=/usr \
--prefix=/usr/local

supporting:

Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets