Skip to content

Cannot pipe data to docker container #2

@PeterKietzmann

Description

@PeterKietzmann

I've tried:

python examples/test_rng_example.py | docker run --rm -it <name>:latest --small-crush` 

but unfortunately I get errors with the PIPE:

the input device is not a TTY
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe
  • Starting the container without the pipe works. I shows the initial log outputs of "SmallCrush" and waits for data.
  • Starting docker only with -i does not show the error, it starts the SmallCrush as expected but the input data is a static and unrelated value.

Now I'm not so familiar with docker and for sure i googled and tried varying parameters but all without success. Do you have an suggestions how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions