it cost ¢16 per ton to load a ship. Containerization greatly reduced the time to load and unload cargo. Malcom Purcell McLean "A ship earns money only when she is at sea".
… facilitate commoditization of formerly custom processes and help maximize compatibility, interoperability, safety, repeatability, and quality. - wikipedia
show kernel/linux version $ pwd # show current directory $ ls # show files in directory $ whoami # what is my user name $ id # what is my user id $ ps # what processes are running $ hostname # what is the server hostname $ ifconfig # network interface list $ netstat # network activity $ netstat -r # routing table $ mount # mounted file systems inspecting a linux environment
busybox \ /bin/sh -c 'while true; do date; sleep 1; done' Sun Mar 23 18:57:17 IST 2015 Sun Mar 23 18:57:18 IST 2015 Sun Mar 23 18:57:19 IST 2015 Sun Mar 23 18:57:20 IST 2015 Sun Mar 23 18:57:21 IST 2015 ^C docker clock
busybox \ /bin/sh -c 'while true; do date; sleep 1; done' e04e6a90bd09723fcda724ecd9392434992d7d0fd335bb465cd5f618570ee68e daemon clock! Hey! Where is the REAL output?
1956 the Ideal X carried 58 containers from Port Newark, New Jersey, to Port of Houston, Texas, where 58 trucks were waiting to be loaded with the containers.
commit -a ‘Evgeny Zislis <[email protected]>’ \ abcde123 haws/webserver 96e632d705113241816462ba9c7e94451384a505613dff64af192daf7bc78efb Hey! What is this?
docker search mongodb > docker pull mongodb/mongodb:latest > docker run -d mongodb/mongodb using images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE busybox latest a9eb17255234 5 days ago 2.433 MB ubuntu 14.04 99ec81b80c55 4 weeks ago 266 MB
✓ inspect difference made to container ✓ searching for community images ✓ docker image pulling and pushing ✓ building images using Dockerfiles ✓ injecting files into images with ADD images : what we learned so far