It is not very legible but there is a solution to this, and it is easier than you think.
First create a variable and store it via
Then you can use it via
docker ps --format=$DOCKER_FORMAT and you get this beautiful output
Another way to solve this is to write a config file. I will write another post for this issue.