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

Docker intro - Meetup Wellington

Docker intro - Meetup Wellington

Slides from the first Docker Meetup in Wellington. An intro to what Docker is, where it domes from and how it works

Lenz Gschwendtner

February 27, 2014
Tweet

More Decks by Lenz Gschwendtner

Other Decks in Programming

Transcript

  1. FROM ubuntu RUN apt-get install -y nginx EXPOSE 8080 CMD

    [“nginx”] Friday, 28 February 14
  2. FROM orchardup/python:2.7 ADD . /code WORKDIR /code RUN pip install

    -r \ requirements.txt Friday, 28 February 14
  3. web: build: . command: python app.py links: - db ports:

    - 8000:8000 db: image: orchardup/postgresql Friday, 28 February 14
  4. thanks • http://www.flickr.com/ photos/emandernie • http://www.flickr.com/ photos/neonman/ • http://www.flickr.com/ photos/mattimattila

    • http://www.flickr.com/ photos/l2f1 • http://www.flickr.com/ photos/inhabitat • http://www.flickr.com/ photos/stevewall Friday, 28 February 14