Published:

Docker Cheat-Sheet

bookmark 1 min read

Just some notes for myself.

Clean up

Purge all containers and images

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

Log in to docker hub

docker login

Copy docker image betwen machines

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