Skip to content

Docker image based on alpine with 'cUrl' installed.

License

Notifications You must be signed in to change notification settings

georg-koch/docker-alpine-curl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Docker Stars Docker Pulls Docker Image Layers Docker Image Version Docker Image CI Anchore Container Scan

Supported tags

Project

It is a Docker image with cUrl installed. The Docker image is based on docker-alpine v3.8.2.

Usage

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

Have fun!