Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

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

Open
MichelDiz opened this issue Jan 8, 2018 · 1 comment
Open

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

MichelDiz opened this issue Jan 8, 2018 · 1 comment

Comments

@MichelDiz
Copy link

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
Copy link

syndbg commented Mar 23, 2018

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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants