Some everyday docker helpers, infrequently extended.

Set all running docker containers to always restart:
docker update --restart=always $(docker ps -q)
Get the ip address of a container
docker inspect --format {{.NetworkSettings.IPAddress}} CONTAINERNAME