Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

Dabbling in Docker

Dabbling in Docker

Aidan Feldman

January 25, 2016
Tweet

More Decks by Aidan Feldman

Other Decks in Technology

Transcript

  1. Dabbling in Docker Agenda 1 What Docker does 2 Why

    it’s useful 3 How to use it 4 Challenges
  2. Dabbling in Docker Agenda 1 What Docker does 2 Why

    it’s useful 3 How to use it 4 Challenges
  3. Dabbling in Docker Agenda 1 What Docker does 2 Why

    it’s useful 3 How to use it 4 Challenges
  4. why it’s useful • specific dependency versions • sandboxing…without a

    full VM per app • dev-prod parity • “works on my machine” • complex architectures 7
  5. Dabbling in Docker Agenda 1 What Docker does 2 Why

    it’s useful 3 How to use it 4 Challenges
  6. Dockerfiles FROM <base image> COPY <source> <destination> ENV <key> <value>

    WORKDIR <path> RUN <command> EXPOSE <port> CMD <start> 10
  7. Building 1. Open Docker Quickstart Terminal 1. `docker-machine ls` 2.

    `cd <dir>` 3. `docker build -t <imagename> .` 4. `docker images` 11
  8. Dabbling in Docker Agenda 1 What Docker does 2 Why

    it’s useful 3 How to use it 4 Challenges