Nobody can remember how to use Docker, it is far too confusing. So here are some hints.
sudo docker build -t simple_flask:dockerfile .
sudo docker run -p 5000:5000 simple_flask:dockerfile python hello.py
My actual intention is to learn Ansible. But in order to run Ansible you need Docker, unless you happen to have a rackful of machines at your disposal which I do not.
Look at these instructions to install Ansible properly. More Ansible stuff here but it does not talk about using Docker. Wait, this one might work. Honorable mention for 1 and 2.
Working from this page, I have started to make Ansible do some things. Here we start and then stop three HTTP servers.
sudo ansible-playbook docker_go.yml
curl http://127.0.0.1:5000/ ==> value1
curl http://127.0.0.1:5001/ ==> value2
curl http://127.0.0.1:5002/ ==> value3
sudo ansible-playbook docker_stop.yml
So that is pretty cool already, and I know Ansible has a bunch more stuff like applying names to groups of machines (webserver, database, etc) so that you can run bunches of commands on them. Slick.