Going one step further, using <a href="http:&#x2F;&#x2F;CommonWL.org" rel="nofollow">http:&#x2F;&#x2F;CommonWL.org</a> you can wrap Dockerized command line tools into callable Python functions, and abstracting all the details of stdin&#x2F;stdout redirection and getting files into and out of the container.