SlideShare a Scribd company logo
Docker
or
How I Learned to Stop Worrying and Love the Whale
VM Soapbox
• Installing tools for every project on laptop
• Works on my server
• Amazon Web Services (AWS) Experience
Docker Pitch
• Docker is fast
• A VM without the overhead of a VM
• Cheap containers to deploy applications/services
• Replay and reset of image snapshots
Docker lightning
How Docker is Like Java
• Java’s promise: Write Once. Run Anywhere.
• Docker has the same promise.
• You configure containers exactly the way you want them:
• Pick OS, add applications, expose interfaces, etc
• Your server template will run exactly the same on any
host that runs a Docker server.
What isn’t Docker?
• Docker isn't a new technology or approach
• Linux Container technology (like LXC) or chroot jails
• Docker is NOT a Configuration Manager replacement (like
Chef, Puppet, SaltStack, etc)
• Docker is NOT a PaaS
• Docker is NOT good at linking across separate servers or
VMs (yet, see ambassadors)
• Docker does NOT support Windows Containers
What is Docker?
• Docker is great at building and sharing disk images with
others through the Docker Index
• Docker has a central repository of disk images (public and
private) that allow you to easily run different operating
systems (Ubuntu, Centos, Fedora, Gentoo, CoreOS, etc)
• Docker is a great image distribution model for server
templates
• Docker uses a copy-on-write filesystem to keep track of
filesystem diff’s which can be committed and collaborated on
with other users
Docker lightning
Docker lightning
Install Docker
https://docs.docker.com/
Debian
$ sudo apt-get install docker.io
Fedora
$ sudo yum -y install docker-io
Windows
https://github.com/boot2docker
Mac
https://github.com/boot2docker
http://boot2docker.io/
boot2docker is a lightweight Linux distribution
based on Tiny Core Linux made specifically to run
Docker containers.
It runs completely from RAM, weighs ~27MB and
boots in ~5s (YMMV).
Docker lightning
Docker is Easy
• docker run –i –t fedora
• docker run –i –t ubuntu:12.04
• docker run –d -v $PWD/clearview:$JBOSS_HOME jboss
• docker run –d –v $PWD:/temp node temp/server.js
• docker run -i -t -v $PWD:/temp ubuntu:13.10 awk -F"," '{print
$3}' temp/test.csv
Docker is Easy
• Dockerfile
FROM ubuntu:12.04
ENV http_proxy http://proxy.ext.ray.com:80
RUN apt-get install -y openjdk-5-jre
WORKDIR /home/cyber/work
EXPOSE 8887
CMD [ "java", "-jar", "ProcessMonitor.jar"]
• docker build –t ubuntu1204wJava5 .
• docker run –i –p80:8887 –v $PWD/somefolder:/home/cyber/work ubuntu1204wJava5
Docker lightning
• http://docker.io
• http://www.dockerbook.com/
Resources

More Related Content

PDF
Docker Fundamentals
PDF
PPTX
Docker Basic Presentation
PPTX
Docker: From Zero to Hero
PPTX
PPTX
Docker presentation
PPTX
Docker Workshop
PPTX
Docker intro
Docker Fundamentals
Docker Basic Presentation
Docker: From Zero to Hero
Docker presentation
Docker Workshop
Docker intro

What's hot (20)

PPTX
Docker Global Hack Day #3
PDF
Docker 101 - Getting started
PPTX
Docker lxc win
PPTX
Docker introduction for the beginners
PDF
An Introduction to Vagrant and Docker
PPTX
Developer workflow with docker
PPTX
Docker + Jelastic - planeetta.fi
PDF
Docker 101 for Developer
PDF
Introduction to Docker - Docker workshop @Twitter
PDF
Docker introduction - Part 1
PDF
Docker for developers
PPTX
Docker introduction
PPTX
Cohesion Techsessie Docker - Daniel Palstra
PDF
Docker get started
PDF
Dockerizing your applications - Docker workshop @Twitter
PDF
Introduction to container based virtualization with docker
PPTX
Docker container
PDF
Docker presentation
PPTX
Introduction to Dockers and containers
PPTX
Vagrant + Docker
Docker Global Hack Day #3
Docker 101 - Getting started
Docker lxc win
Docker introduction for the beginners
An Introduction to Vagrant and Docker
Developer workflow with docker
Docker + Jelastic - planeetta.fi
Docker 101 for Developer
Introduction to Docker - Docker workshop @Twitter
Docker introduction - Part 1
Docker for developers
Docker introduction
Cohesion Techsessie Docker - Daniel Palstra
Docker get started
Dockerizing your applications - Docker workshop @Twitter
Introduction to container based virtualization with docker
Docker container
Docker presentation
Introduction to Dockers and containers
Vagrant + Docker
Ad

Similar to Docker lightning (20)

PPTX
Docker - A curtain raiser to the Container world
PDF
Docker slides
PDF
Up and running with docker
PPTX
Getting Started With Docker: Simplifying DevOps
PPTX
Getting started with Docker
PPTX
Docker Ecosystem on Azure
ODP
Docker on Power Systems
PPTX
You, and Me, and Docker Makes Three
PDF
PPTX
Virtualization, Containers, Docker and scalable container management services
PPTX
Docker.pptx
PDF
Docker interview Questions-1.pdf
PPTX
Docker for .NET Developers
PPTX
Docker and Microservice
PPTX
Introduction to Dockers.pptx
PDF
Introduction to Docker Containers - Docker Captain
PDF
Introduction to Docker - IndiaOpsUG
PDF
[@NaukriEngineering] Docker 101
PPTX
Docker-Presentation.pptx
PPTX
Introducing docker
Docker - A curtain raiser to the Container world
Docker slides
Up and running with docker
Getting Started With Docker: Simplifying DevOps
Getting started with Docker
Docker Ecosystem on Azure
Docker on Power Systems
You, and Me, and Docker Makes Three
Virtualization, Containers, Docker and scalable container management services
Docker.pptx
Docker interview Questions-1.pdf
Docker for .NET Developers
Docker and Microservice
Introduction to Dockers.pptx
Introduction to Docker Containers - Docker Captain
Introduction to Docker - IndiaOpsUG
[@NaukriEngineering] Docker 101
Docker-Presentation.pptx
Introducing docker
Ad

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation theory and applications.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPT
Teaching material agriculture food technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Empathic Computing: Creating Shared Understanding
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Cloud computing and distributed systems.
Encapsulation theory and applications.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
“AI and Expert System Decision Support & Business Intelligence Systems”
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Teaching material agriculture food technology
Big Data Technologies - Introduction.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Unlocking AI with Model Context Protocol (MCP)
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25 Week I

Docker lightning

  • 1. Docker or How I Learned to Stop Worrying and Love the Whale
  • 2. VM Soapbox • Installing tools for every project on laptop • Works on my server • Amazon Web Services (AWS) Experience
  • 3. Docker Pitch • Docker is fast • A VM without the overhead of a VM • Cheap containers to deploy applications/services • Replay and reset of image snapshots
  • 5. How Docker is Like Java • Java’s promise: Write Once. Run Anywhere. • Docker has the same promise. • You configure containers exactly the way you want them: • Pick OS, add applications, expose interfaces, etc • Your server template will run exactly the same on any host that runs a Docker server.
  • 6. What isn’t Docker? • Docker isn't a new technology or approach • Linux Container technology (like LXC) or chroot jails • Docker is NOT a Configuration Manager replacement (like Chef, Puppet, SaltStack, etc) • Docker is NOT a PaaS • Docker is NOT good at linking across separate servers or VMs (yet, see ambassadors) • Docker does NOT support Windows Containers
  • 7. What is Docker? • Docker is great at building and sharing disk images with others through the Docker Index • Docker has a central repository of disk images (public and private) that allow you to easily run different operating systems (Ubuntu, Centos, Fedora, Gentoo, CoreOS, etc) • Docker is a great image distribution model for server templates • Docker uses a copy-on-write filesystem to keep track of filesystem diff’s which can be committed and collaborated on with other users
  • 10. Install Docker https://docs.docker.com/ Debian $ sudo apt-get install docker.io Fedora $ sudo yum -y install docker-io Windows https://github.com/boot2docker Mac https://github.com/boot2docker
  • 11. http://boot2docker.io/ boot2docker is a lightweight Linux distribution based on Tiny Core Linux made specifically to run Docker containers. It runs completely from RAM, weighs ~27MB and boots in ~5s (YMMV).
  • 13. Docker is Easy • docker run –i –t fedora • docker run –i –t ubuntu:12.04 • docker run –d -v $PWD/clearview:$JBOSS_HOME jboss • docker run –d –v $PWD:/temp node temp/server.js • docker run -i -t -v $PWD:/temp ubuntu:13.10 awk -F"," '{print $3}' temp/test.csv
  • 14. Docker is Easy • Dockerfile FROM ubuntu:12.04 ENV http_proxy http://proxy.ext.ray.com:80 RUN apt-get install -y openjdk-5-jre WORKDIR /home/cyber/work EXPOSE 8887 CMD [ "java", "-jar", "ProcessMonitor.jar"] • docker build –t ubuntu1204wJava5 . • docker run –i –p80:8887 –v $PWD/somefolder:/home/cyber/work ubuntu1204wJava5