Docker کے ساتھ کام کرنے میں images بنانے، containers چلانے اور منظم کرنے، اور inspect/debug کرنے کے لیے ضروری CLI commands کا ایک سیٹ شامل ہوتا ہے۔ انہیں جاننا بنیادی، روزمرہ کا عملی علم ہے۔
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 # download an image from a registry
docker push myapp:1.0
docker rmi myapp:1.0
docker tag myapp:1.0 myapp:latest
