Published:

Jarle Aase

Docker Cheat-Sheet

bookmark 1 min read

Just some notes for myself.

Clean up

Purge all containers and images

1# Delete all containers
2docker rm $(docker ps -a -q)
3# Delete all images
4docker rmi -f $(docker images -q)

Log in to docker hub

1docker login

Copy docker image betwen machines

ssh source "docker save image-name:tag | gzip" | docker load