Cheat Sheet

docker pull <image> -> Download image on its latest version from docker hub
docker images -> Lists images
docker run <image> -> Starts container attached. If local image not found, it downloads it
docker run -d <image> -> Starts container detached
docker run <image>:<version> -> Starts container in specific version
docker run -p<accessible_port>:<internal_port> -> Binds a port from the service within docker (internal_port)) to an accessible_port
docker ps -> Shows running containers
docker ps -a -> Shows running and stopped conatiners containers
docker stop <ID> -> Stop container ID of container (get it from docker ps)
docker start <ID> -> Start container previously stopped. ID of container (get it from docker ps -a)