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

docker-compose exec and docker-compose slow are slow, use docker instead #9

Open
alberto56 opened this issue Sep 28, 2019 · 1 comment

Comments

@alberto56
Copy link
Contributor

This is slow:

docker-compose exec a /bin/bash -c 'echo "hello"'
docker-compose port a 80

This is faster:

A=$(docker-compose ps -q a)
docker exec $A /bin/bash -c 'echo "hello"'
docker post $A 80

@alberto56
Copy link
Contributor Author

See docker/compose#4748, we could gain some speed here.

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