Working with Docker involves a set of essential CLI commands for building images, running and managing containers, and inspecting/debugging. Knowing them is fundamental, everyday practical knowledge.
Image commands
docker build -t myapp:1.0 . # build an image from a Dockerfile in the current dir
docker images # list local images
docker pull nginx:latest
docker push myapp:1.0
docker rmi myapp:1.0
docker tag myapp:1.0 myapp:latest
