Like on dlang.org, this is a small rpn calculator, but dockerized. It's simple to build, run, and see how it works.
docker build -t rpn-calculator .
docker run -it --rm rpn-calculator
1 2 + 3 * 4 / # example input
[2.25] # example output