Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Docker: Form Idea to Dev

Docker: Form Idea to Dev

Part 1 of 3 part series of webinars on Docker for CloudAcademy. You can read the summary (with link to video) on the CloudAcademy blog: http://cloudacademy.com/blog/docker-containers-how-they-work/

Adam Hawkins

October 17, 2016
Tweet

More Decks by Adam Hawkins

Other Decks in Technology

Transcript

  1. Plan My Goal: Familiarize you with Docker so you can

    start today Presentation & Demo ~10 minutes for Q & A. Please put your questions in the chat.
  2. Hi! I’m Adam Hawkins • Site Reliability Engineering Team Lead

    at Saltside • Manages ~350 containers in production • 2+ years of Docker experience • “Introduction to Docker” course lecturer • @adman65 • http://blog.slashdeploy.com
  3. ”Docker containers wrap a piece of software in a complete

    filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server. This guarantees that the software will always run the same, regardless of its environment.” Docker Inc. (2016)
  4. Use Cases Build Ship & Run • Development Environment Automation

    • Managing Data Stores • Cross OS Development • Development & Production Parity
  5. Use Cases Build Ship & Run • Infrastructure Standardization •

    CI Build Isolation • Testing New Software • Distributing New Software
  6. Right, But what is it? • Built on top of

    Linux kernel features like control groups • Isolates process and their resources from others running on a single kernel • Not “light weight” virtualization as often described. This is inaccurate
  7. Build, Ship, Run $ docker build -t my_org/my_app . $

    docker push my_org/my_app $ docker run my_org/my_app
  8. The Official Registry & Library • Default place to push

    & pull images (customizable) • Tons of useful base images in the official library! • Covers 90% of common use cases • User contributed images cover the remaining 10% • Odds are there is a base image for your language (Python, Ruby, Node, Java, Go, and more) • Also images for data stores (Redis, MySQL, MongoDB, and more)
  9. Docker Compose • Models multi container applications through a configuration

    file • Great for development and testing • Can even be used to deploy to staging/ production
  10. Docker Machine • Creates Docker hosts • Can create local

    VMs • Can create cloud instances on AWS/Azures/ etc • Can even create Docker swarms
  11. Demo Time! Build a docker image and start a container

    Play with docker compose Show off misc features/commands