Open MichelDiz opened 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.
@MichelDiz You could do a docker run --rm appropriate/curl mycurlycurlthings; sleep infinity
docker run --rm appropriate/curl mycurlycurlthings; sleep infinity
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.