docker cp <containerId>:/file/path/within/container /host/path/target
docker exec -it $containername /bin/bash
http://stackoverflow.com/a/28377696/1497139
docker rmi -f $(docker images -f "dangling=true" -q)
docker logs $containername
docker ps -a | grep 'weeks ago' | awk '{print $1}' | xargs --no-run-if-empty docker rm
Upcoming feature in 1.9?