14. Tip of the day
# remove all stopped containers and remove all untagged images
docker rm $(docker ps -a -q)
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
15. Why does it work?
separation of concerns…
• Developer
• Worries about what’s “inside” the
container
• His code
• His Libraries
• His Package Manager
• His Apps
• His Data
• All Linux servers look the same
• Ops
• Worries about what’s “outside” the
container
• Logging
• Scaling
• Monitoring
• Environment configuration
• All containers start, stop, copy,
attach, migrate, etc. the same way
http://www.slideshare.net/dotCloud/docker-intro-november