It is a Docker image with cUrl
installed. The Docker image is based on docker-alpine v3.8.2.
At first start the image to check functionality.
$ docker run codizz/curl
Output is like:
curl 7.61.1 (x86_64-alpine-linux-musl) libcurl/7.61.1 LibreSSL/2.0.0 zlib/1.2.11 libssh2/1.8.0 nghttp2/1.32.0
Release-Date: 2018-09-05
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz HTTP2 UnixSockets HTTPS-proxy
Check installed alpine
version:
docker run --entrypoint cat codizz/curl /etc/alpine-release
Output like:
3.8.2
Usage of cUrl
:
$ docker run -t codizz/curl http://example.com/
Output is like:
<!doctype html>
<html>
<head>
<title>Example Domain</title>
...
</body>
</html>
To entree the container:
$ docker run -it --entrypoint sh codizz/curl
Getting cUrl
help:
$ docker run codizz/curl --help