Ref: https://learn.cantrill.io/courses/docker-fundamentals/lectures/44151958
YouTube: https://www.youtube.com/watch?v=52SmfrVctB0
DEMO: https://learn.cantrill.io/courses/docker-fundamentals/lectures/44706186
DEMO-YouTube: https://www.youtube.com/watch?v=DkIUPdRF7Fg
docker pull <imgID>
- dockerd pulls (downloads) image, stores it locally in Hostdocker push <imgID>
- dockerd pushes an image to registry/HUBdocker run <imgID>
- dockerd runs an image (creates new container or starts old one)
docker stop <contID>
- dockerd stops a running containerdocker start <contID>
- dockerd starts a stopped containerdocker restart <contID>
- dockerd restarts a container (stops and starts it again)docker ps
- show all running containers.
docker ps -a
- show all containers (whether running or stopped).docker images
- show all imagesdocker build <file>
- dockerd uses a Dockerfile to create a new imagedocker ps
 = GET /containers/json