Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to docker

2,431 views

Published on

Published in: Software
  • Hello! Get Your Professional Job-Winning Resume Here - Check our website! https://vk.cc/818RFv
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Introduction to docker

  1. 1. Introduction to Docker
  2. 2. @botchagalupe • a.k.a. John Willis • 35 Years in IT Operations • Exxon, Canonical, Chef, Enstratius, Socketplane • Devopsdays Core Organizer
  3. 3. Agenda • Part 1 (Overview)! • Why Docker?! • Docker Platform! • Docker Solutions! • Part 2 (Docker and Devops)! • Part 3 (Demos)! • Docker Installation! • Docker (Basic Image) Workflow! • Docker (Build) Workflow! • Docker (Volumes) Workflow! • Docker Networking
  4. 4. Docker Blog
  5. 5. Why Docker? • Isolation • Lightweight • Simplicity • Workflow • Community
  6. 6. Killer Apps • Local Application Development and Test • CI/CD • Containers as a Service • Build your own Pass
  7. 7. Docker Community • 21,500+ GitHub stars • 400M+ Docker Engine downloads • 100,000+ "Dockerized" applications in the Docker Hub Registry • 180+ Docker Meetup Groups in 50 countries • 150,000 live apps are running off Docker • 930+ community contributors • 3 to 4 Million - Developers using Docker • 50,000 third-party projects on GitHub using Docker as well as partnerships spanning PaaS, operating systems, hosting services, CI platforms, and more. • Over 100 user-generated case studies available from companies such as eBay, Rackspace, New Relic, Gilt, Spotify, Cloudflare, Yandex, Cambridge Healthcare, Yelp and RelatelQ.
  8. 8. Docker Engine • Docker Daemon • Docker CLI
  9. 9. Docker Daemon • Builds Images • Runs and Manages Containers • RESTful API
  10. 10. Docker CLI • docker build # Build an image from a Dockerfile • docker images # List all images on a Docker host • docker run # Run an image • docker ps # List all running and stopped instances • docker stop # Stop a running instances • docker rm # Remove an instance • docker rmi # Remove an image
  11. 11. Docker Architecture
  12. 12. Docker Platform Workflow (Volumes)
  13. 13. Docker Hub • Provides Docker Services • Library of public images • Storage for your images • free for public images • cost for private images • Automated builds(link github/bitbucket repo; trigger build on commit)
  14. 14. Docker Hub
  15. 15. Docker Solutions • Docker Compose • Docker Machine • Docker Swarm • Kitematic • Docker Networking • Docker Trusted Registry
  16. 16. Docker Compose
  17. 17. Docker Machine • Install Docker on a Host • Starting, stopping, restarting the Docker Engine • Upgrading Docker on a Host • Configuring the Docker client to talk to your host 
 (TLS)
  18. 18. Docker Swarm • Discovery Services • Advanced Scheduling • API
  19. 19. Docker Networking
  20. 20. Docker Networking “We'll do for Networking, What Docker did for Compute.”
  21. 21. Docker Networking • Make “network” & “service” as top-level objects ! • Provide a pluggable networking stack ! • Span networks across multiple hosts ! • Support multiple platforms
  22. 22. Container Network Model (CNM) • Endpoint ! • Network ! • Sandbox
  23. 23. Libnetwork • Open Sourced in April ! • Over 200 Pull Requests ! • Over 200 GitHub Stars ! • Windows and FreeBSD ports in progress
  24. 24. Part 2
  25. 25. Docker and Devops
  26. 26. Docker and Devops
  27. 27. Docker and Devops • Velocity • Variation • Visualization
  28. 28. Part 3
  29. 29. Docker Installation
  30. 30. Docker Installation
  31. 31. Docker Installation
  32. 32. Demo
  33. 33. Docker Run Commands
  34. 34. Docker Platform Workflow (Build Images) • Build a Local Image • Run an Image on Docker Host
  35. 35. Demo
  36. 36. Docker Build
  37. 37. Docker Platform Workflow (Volumes) • Using Volumes • Mounting Docker Host Volumes
  38. 38. Docker Platform Workflow (Volumes)
  39. 39. Demo
  40. 40. Docker Volumes
  41. 41. Docker Networking
  42. 42. Docker Networking
  43. 43. Docker Networking
  44. 44. Docker Networking
  45. 45. Docker Networking
  46. 46. Docker Networking • Weave • Flannel • Calico • Triton • Socketplane
  47. 47. Docker Networking
  48. 48. Docker Networking • Container Network Model (or CNM) • Notion of a Default Network • Default Multi-Host Data-path for CNM • Network API • Docker Network CLI
  49. 49. References WHY I LOVE DOCKER… AND WHY YOU’LL LOVE IT TOO! https://blog.docker.com/2015/03/why-i-love-docker-and-why-youll-love-it-too/! ! DOCKER TUTORIAL 1 – INSTALLING DOCKER! https://blog.docker.com/2015/03/docker-tutorial-1-installing-docker/! ! DOCKER TUTORIAL 2 – DOCKER RUN COMMAND BASICS! https://blog.docker.com/2015/03/docker-tutorial-2-docker-run-command-basics/! ! DOCKER TUTORIAL 3 – FUN WITH VOLUMES! https://blog.docker.com/2015/04/docker-tutorial-3-fun-with-volumes/! ! DOCKER TUTORIAL 4 – MORE RUN WITH A COUPLE OF EXTRA GOODIES! https://blog.docker.com/2015/04/docker-tutorial-4-more-run-with-a-couple-of-extra-goodies/! ! DOCKER TUTORIAL 6 – DOCKERFILE (PART 1)! https://blog.docker.com/2015/04/docker-tutorial-6-dockerfile-part-1/! ! DOCKER TUTORIAL 7 – DOCKERFILE (PART 2)! https://blog.docker.com/2015/04/docker-tutorial-7-dockerfile-part-2/
  50. 50. john.willis@docker.com @botchagalupe

×