Code Monkey home page Code Monkey logo

docker-curl's Introduction

docker-curl

Alpine-based image with just curl

Usage

$ docker run --rm appropriate/curl -fsSL https://www.google.com/

Tags

  • appropriate/curl:latest: based on alpine:latest
  • appropriate/curl:edge: based on alpine:edge

License

Copyright © 2015 Appropriate Computing

All contents licensed under the MIT License

docker-curl's People

Contributors

md5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-curl's Issues

Doesn't retry on connrefused

Seems like the docker process exits, which is the opposite of what one might expect.

docker run --network container:dsp appropriate/curl -o /dev/null --retry 10 --retry-connrefused http://localhost:9614

curl: (7) Failed to connect to localhost port 9614: Connection refused

Image SHA from Docker Hub doesn't exist

On Docker Hub I see the sha d37e1f717dc01df3a838955d29a149c569352c0991b1d7cf11b4ebca8c6c7f55

I get an error when I try to use it:

$ docker pull appropriate/curl:latest@sha256:d37e1f717dc01df3a838955d29a149c569352c0991b1d7cf11b4ebca8c6c7f55
Error response from daemon: received unexpected HTTP status: 500 Internal Server Error

When I pull latest it's different then "advertised" on Docker Hub (c8bf5bbec6397465a247c2bb3e589bb77e4f62ff88a027175ecb2d9e4f12c9d7)

$ docker pull appropriate/curl:latest
latest: Pulling from appropriate/curl
Digest: sha256:c8bf5bbec6397465a247c2bb3e589bb77e4f62ff88a027175ecb2d9e4f12c9d7
Status: Image is up to date for appropriate/curl:latest
docker.io/appropriate/curl:latest

This feels strange too me... Specially because it's an automated build image.

ppc64le image for docker-curl

Hi, I'm looking to enable docker containers for packages like docker-curl for multiple architectures on dockerhub, starting off with a focus on ppc64le. Wanted to check on the work that will be involved to do that

I have locally been able to successfully test ppc64le changes to the dockerfiles in this repo - changes for enabling additional arch would be minimum.

Would like to know how a multi-arch image for this can be initiated? The official images have this method for enabling multi-arch : https://github.com/docker-library/official-images#multiple-architectures, however this repo isnt an official image yet. Would the first step be to make this an official image or are there any other ways the dockerhub docker-curl image can be enabled for ppc64le?

Can you add a "let it live"?

I'm constantly using this image, but wanted to keep the container alive. For whenever you need to enter the container and use the curl, anytime.

Today I can only send a command, but if you mount the container without command it dies at the same instant.

A flag like:

docker run --rm appropriate/curl --debug
or
docker run --rm appropriate/curl --stay

Cheers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.