Link

Docker Cheat Sheet

How to:

list images

docker images

remove an image

docker rmi "name or ID"

see all containers

docker -ps -a

run a container

docker run -d "name or ID"

restart a container

docker restart "name or ID"

stop a container

docker stop "name or ID"

remove a container

docker rm
"name or ID"

onnect to a container

docker exec -it "container name" /bin/bash