Docker 

In roughly 20 minutes

 

Scott Ross - Software Programmer

Cornell University 

Basics! Definitions! Demo!

FROM ubuntu

RUN apt-get install -y software-properties-common python
RUN add-apt-repository ppa:chris-lea/node.js
RUN apt-get update
RUN apt-get install -y nodejs
RUN mkdir /var/www

ADD app.js /var/www/app.js

CMD ["/usr/bin/node", "/var/www/app.js"] 

Let's set some expectations

Docker helps developers 

by providing solutions for

 

  • "It works on my machine"
  • Simpler and faster (and automated) Deployments  
  • Dependency Management 
  • Quicker technological improvements
  • Reproducibility of environment (process)
    • By keeping the environment..

.... hahaha ...

Docker helps sys admins

by providing ways to handle

  • "It worked on my machine..."
  • Managing environment changes
  • Conflicting runtimes 
  • Log files and monitoring
  • Reduction in complexity 
  • "Runs Anywhere"

Docker - 

The Big Picture

  • Ridiculous growth
  • Open source engine
  • Linux (and maybe? windows)
  • Allows to create and share images
  • Standard format

Demo

  • Show you docker daemon on AWS
  • Show you a Docker File (which is a DSL)
  • Deploy simple HTML/JS/CSS application 
  • Make change and redeploy 

DevOps

and 

Containerization 

Docker 

Docker will be one of many tools that will support cloud initiative at CU / VMIT

Local, Hybrid,  Campus, AWS, Azure

 Dev Principals in 2015

1.  Automation

 

2.  Measurability

 

3.  Monitoring

 

Docker Resources

 

  • Vincent Batts - Lighting Talk - 5 minutes
    • https://www.youtube.com/watch?v=Av2Umb6nELU
  • Introduction to Docker - 50 Minutes from Docker
    • https://www.youtube.com/watch?v=Q5POuMHxW-0
  • Docker and Mono - This is the template of where we are going
    • http://dotnetliberty.com/index.php/2015/10/08/docker-c-sharp-scripted-build-in-6-minutes/
// javaScipt WAT!

// Array + Array
[] + [] ="";

// Array + Object
[] + {} = [object Object]

// Object + Array 
{} + [] = 0

// Not A Number
{} + {} = NaN

WAT

Conclusion

 

Docker

By Scott Ross

Docker

  • 480