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?
I've tried:
but unfortunately I get errors with the PIPE:
-idoes 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?