I want to run a set of commands in a docker container, e.g.:
docker run -i <image> cmd1 | cmd2
Both cmd1
and cmd2
should be run inside the container.
Is it possible? If not, what are the alternatives?
I want to run a set of commands in a docker container, e.g.:
docker run -i <image> cmd1 | cmd2
Both cmd1
and cmd2
should be run inside the container.
Is it possible? If not, what are the alternatives?