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

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. @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
  2. @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
  3. @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