So here is my opinion on that, when working with Docker containers, you really have a few options for scripting; Bash, Perl, and Python. Python is available in the base install unlike Ruby. That is why I use it for scripting.