$30 off During Our Annual Pro Sale. View Details »

Docker in a Flash

Docker in a Flash

Lightning Talk for Women Who Code about using Docker for environment management.

Alice Goldfuss

June 08, 2015
Tweet

More Decks by Alice Goldfuss

Other Decks in Programming

Transcript

  1. Docker in a Flash Alice Goldfuss @alicegoldfuss

  2. I’m Alice SRE @

  3. @alicegoldfuss WTF? Yay! Me

  4. @alicegoldfuss WTF? Yay! Me Coworker

  5. @alicegoldfuss Staging

  6. @alicegoldfuss Staging Production

  7. @alicegoldfuss Common factor?

  8. @alicegoldfuss The Environment @alicegoldfuss

  9. @alicegoldfuss

  10. @alicegoldfuss Docker Basics - Containerization software - Open source o

    github.com/docker/docker - Linux only
  11. @alicegoldfuss VMs host OS hypervisor guest OS guest OS bin

    / lib bin / lib app A app B
  12. @alicegoldfuss VMs Containers host OS host OS hypervisor Docker engine

    guest OS guest OS bin / lib bin / lib app A app B bin / lib bin / lib app A app B app B
  13. @alicegoldfuss Dockerfile

  14. @alicegoldfuss Dockerfile Image

  15. @alicegoldfuss Image Container Dockerfile

  16. @alicegoldfuss # Example my_app/Dockerfile # Pull base image. FROM dockerfile/ubuntu

    # Install Ruby. RUN apt-get install -y ruby # Install Sinatra. RUN gem install sinatra
  17. @alicegoldfuss # Example my_app/Dockerfile # Pull base image. FROM dockerfile/ubuntu

    <-- image layer # Install Ruby. RUN apt-get install -y ruby <-- image layer # Install Sinatra. RUN gem install sinatra <-- image layer
  18. @alicegoldfuss ubuntu ruby sinatra your image

  19. @alicegoldfuss your image container container container

  20. @alicegoldfuss Share it! Yay! Divine! your image

  21. @alicegoldfuss Ship it! your image your image

  22. @alicegoldfuss Ship it! your image your image your image your

    image your image your image
  23. @alicegoldfuss Docker at New Relic docker host 1 docker host

    2 docker host 3 docker host 4
  24. @alicegoldfuss Docker Tools - Centurion o github.com/newrelic/centurion - Dogestry o

    github.com/dogestry/dogestry
  25. Thanks! @alicegoldfuss