Useful docker snippets for the delight of every day use.

Getting the IP address of a running docker container (source):

docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id