Use the Docker CLI to pull this image
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)
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.
To pull the latest version:
> docker pull curlimages/curl:7.83.1
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
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
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