Alpine Linux v3.8.1 with curl v7.61.1 installed at /usr/bin/curl. 4MB.
100K+
A handy basic image comprising of;
For previous tag 1:
I'd expect you use this image as a simple website and/or proxy testing tool.
Use this command to pull the image manually before runtime:
sudo docker pull itsthenetwork/alpine-curl:latest
This command will start the container and use curl to verbosely connect to and display the (considerable) source of https://www.google.co.uk/. The container will be automatically removed when the command completes.
sudo docker run -it --name=curl --rm itsthenetwork/alpine-curl -v https://www.google.co.uk/
If you want to connect to localhost, you'll need to add the host mode network parameter:
sudo docker run -it --name=curl --rm --net=host itsthenetwork/alpine-curl -v https://localhost/
If you wanted to install additional packages and build your own image based upon this one you'd start your Dockerfile like this:
FROM itsthenetwork/alpine-curl:latest
RUN apk -add U -v package_name package_name
...
The Dockerfile used to create this image is available at the root of the file system, here it is anyway:
FROM alpine:latest
LABEL maintainer "Steven Iveson [email protected]"
COPY Dockerfile /Dockerfile
RUN apk add --update --verbose --no-cache grep bash curl
RUN rm -rf /var/cache/apk/* /tmp/* /sbin/halt /sbin/poweroff /sbin/reboot
ENTRYPOINT ["/usr/bin/curl"]
Content type
Image
Digest
Size
4.2 MB
Last updated
almost 8 years ago
docker pull itsthenetwork/alpine-curl