appropriate / docker-curl

Alpine-based image with just curl
https://registry.hub.docker.com/u/appropriate/curl/
MIT License
29 stars 26 forks source link

Can you add a "let it live"? #3

Open MichelDiz opened 6 years ago

MichelDiz commented 6 years ago

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.

syndbg commented 6 years ago

@MichelDiz You could do a docker run --rm appropriate/curl mycurlycurlthings; sleep infinity