Some usefull commands and settings when using docker
# docker loginWill create a .dockercfg file which is reusable on other hosts
Usefull if you choosed a PITA username and password, like I did.
# docker pull xxx # docker --name zzz run xxx:yyyCan be chortened as
# docker run --name zzz [...] xxx:yyyIt will pull for you.
If the container zzz ever stopped
# docker start zzzShow the full parameters of a container
# docker inspect zzzYou'll see it's a JSON file, and if you just want to print some parameters:
# docker inspect --format '{{.NetworkSettings.IPAddress}}' zzz