Added some stuff from http://www.kartar.net/2014/03/some-useful-docker-bash-functions-and-aliases/