Earlier I demonstrated on how use Python use some shell interactivity in order to automate container orchestration through the Docker CLI command docker. I’m not going to lie, Python, is well, perhaps not a pretty sight with regards to using subshell with popen().