Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement containers pooling for faster commands startup #10

Open
vmagamedov opened this issue Nov 12, 2017 · 0 comments
Open

Implement containers pooling for faster commands startup #10

vmagamedov opened this issue Nov 12, 2017 · 0 comments

Comments

@vmagamedov
Copy link
Owner

Basically do this:

$ docker run --rm image:version sleep 3600
$ docker exec container-id cmd *args

Instead of:

$ docker run --rm image:version cmd *args

Benefits:

$ time docker exec 952fd2f07aaa true

real	0m0.082s
user	0m0.012s
sys	0m0.009s

Instead of:

$ time docker run --rm alpine:3.6 true

real	0m0.966s
user	0m0.013s
sys	0m0.008s

===> More than 10x faster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant