Why
A talk by
Alex Bolboaca
alex.bolboaca@mozaicworks.com
You
Start Using
Should
About Me
● Polyglot programmer
● Trainer
● Coach
● Not a Docker expert; a fan
● Not affiliated with docker
I Noticed a Trend
Why DevOps? Agile!
Reduce time to market & Adapt fast to change
Scrum for dev teams
Bugs & Code difficult to change
Changeable Design
Automated testing
CI
Etc.
Operations Problems
Fast feedback
on infrastructure
+ many others
Annoying Problems
“It works on my computer”
Black Tuesdays
“Cannot reproduce”
I have errors nobody else has
Containers to The Rescue
Actually, these containers
Work with Containers
● Each component of your application runs in a
container
● Dependencies are included in each container
● Containers are shared by all developers,
sysadmins, operations etc. through SCC (eg. git)
● Containers are deployed as such
Example: Java 8 Spark App
Dockerfile
Workflow
● Build the container
– Write the dockerfile
– Build it with docker. E.g. docker build -t [name]
● Commit the dockerfile OR the resulting image
● Run the container locally
– Mount any folder needed (e.g. the source files during dev, the
compiled app for production)
● Deploy the container
– Docker needs to be installed on server
Example: Java 8 Spark App
Dockerfile
It worked on my computer!
Quick Demo
Why Use Docker?
Easy to start with
Free
Large community
Fast
Your Questions?
“The important thing is
not to stop questioning”

Why You Should Start Using Docker

  • 1.
    Why A talk by AlexBolboaca alex.bolboaca@mozaicworks.com You Start Using Should
  • 2.
    About Me ● Polyglotprogrammer ● Trainer ● Coach ● Not a Docker expert; a fan ● Not affiliated with docker
  • 3.
  • 4.
    Why DevOps? Agile! Reducetime to market & Adapt fast to change Scrum for dev teams Bugs & Code difficult to change Changeable Design Automated testing CI Etc. Operations Problems Fast feedback on infrastructure + many others
  • 5.
    Annoying Problems “It workson my computer” Black Tuesdays “Cannot reproduce” I have errors nobody else has
  • 6.
  • 7.
  • 8.
    Work with Containers ●Each component of your application runs in a container ● Dependencies are included in each container ● Containers are shared by all developers, sysadmins, operations etc. through SCC (eg. git) ● Containers are deployed as such
  • 9.
    Example: Java 8Spark App Dockerfile
  • 10.
    Workflow ● Build thecontainer – Write the dockerfile – Build it with docker. E.g. docker build -t [name] ● Commit the dockerfile OR the resulting image ● Run the container locally – Mount any folder needed (e.g. the source files during dev, the compiled app for production) ● Deploy the container – Docker needs to be installed on server
  • 11.
    Example: Java 8Spark App Dockerfile It worked on my computer!
  • 12.
  • 13.
    Why Use Docker? Easyto start with Free Large community Fast
  • 14.
    Your Questions? “The importantthing is not to stop questioning”