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

Piping into containers doesn't work anymore #1

Closed
xendk opened this issue Aug 18, 2017 · 0 comments
Closed

Piping into containers doesn't work anymore #1

xendk opened this issue Aug 18, 2017 · 0 comments

Comments

@xendk
Copy link
Owner

xendk commented Aug 18, 2017

It's caused by switching to docker-compose exec rather than docker exec. The -T switch apparently causes docker-compose to not wire stdin to the command.

It's a known issue: docker/compose#3352

Our only option is reverting to using docker exec, but can improve on guessing the container name by using docker-compose ps -q <service>.

xendk added a commit that referenced this issue Aug 21, 2017
Incluring failting one for #1.
xendk added a commit that referenced this issue Aug 21, 2017
Piping cannot work in all cases due to a bug in docker-compose. So
query docker-compose for the service container id and run docker exec
instead.

Fixes #1
xendk added a commit that referenced this issue Aug 21, 2017
Incluring failting one for #1.
@xendk xendk closed this as completed in 61df85d Aug 21, 2017
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