Docker के साथ काम करने में CLI commands का एक संग्रह शामिल है जो images बनाने, containers चलाने और प्रबंधित करने, और inspect/debug करने के लिए आवश्यक है। इन्हें जानना बुनियादी, रोज़मर्रा की व्यावहारिक जानकारी है।
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
