Docker snippets Useful pieces of code to use with Docker. Start boot2docker boot2docker start eval "$(boot2docker shellinit)" Remove all containers docker rm $(docker ps -aq) Remove incompletely built images docker images | grep none | awk '{print "docker rmi " $3;}' | sh