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

read input from stdin does not work #1056

Closed
fentas opened this issue Jul 26, 2018 · 0 comments · Fixed by #1061
Closed

read input from stdin does not work #1056

fentas opened this issue Jul 26, 2018 · 0 comments · Fixed by #1061

Comments

@fentas
Copy link

fentas commented Jul 26, 2018

Simple docker-compose.yaml

version: '3'
services:
  backend:
    image: helloworld

kompose convert --stdout -f docker-compose.yaml works with no problems but

bash-4.4# cat docker-compose.yaml | kompose convert --stdout -f -
ERRO Could not parse config for project application : yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `3` into config.RawService 
FATA composeObject.Parse() failed, Failed to load compose file: yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `3` into config.RawService 

don't.

bash-4.4# kompose version
1.16.0 (0c01309)
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

Successfully merging a pull request may close this issue.

1 participant