I am a DevOps engineer that loves Docker and Kubernetes.
As DevOps engineer I usually make automation scripts in Python (for larger projects) or Shell (OK! most of the times in BASH till the script starts to show portability issues).
Also, I use YAML (and other) configuration formats to set up systems or apps.