docker run
normally returns the output of the command it runs. I need to pass some data to docker, run a command that processes the data, and return the output. When I use the -i
option, no output is returned. Consider this simple example:
echo hello | docker run -i base wc
It returns no output. How can I get the output from docker when using the -i
option?
docker version
? I suspect this is a bug in whatever version you're running. – Moresque