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

Docker Workshop Barcelona

spiddy
July 28, 2014

Docker Workshop Barcelona

Docker Workshop Introduction, the workshop is separated in three sections:

- CLI Basics
- Dockerfile basics
- Docker Patterns

Workshop Code: https://github.com/harbur/docker-workshop

spiddy

July 28, 2014
Tweet

More Decks by spiddy

Other Decks in Technology

Transcript

  1. Docker Workshop
    Barcelona Meetup
    Harbur.io
    Docker 1.1.0
    July 2014

    View Slide

  2. Dimitris Kapanidis
    @spiddy
    https://github.com/spiddy
    Simplifying DEV Infrastructure
    Harbur.io
    docker-barcelona-spain
    https://www.linkedin.com/in/kapanidis

    View Slide

  3. Simplifying DEV Infrastructure
    Harbur.io
    50%
    D
    iscou
    nt
    1yr
    D
    O
    C
    K
    ER
    W
    S

    View Slide

  4. Docker Intro
    Photo Credit Weasly Grizzly at Pixeljoint

    View Slide

  5. Docker is an open
    platform for developers
    and sysadmins to build,
    ship, and run
    distributed applications

    View Slide

  6. Docker
    Virtual Machines

    View Slide

  7. Develop your App
    Ship your App
    myapp

    View Slide

  8. myapp
    Dockerfile
    FROM ubuntu:12.04
    RUN apt­get ­y install ruby
    ADD . /app/
    EXPOSE 3000
    CMD rails server
    Base Image
    Install Dependencies
    Add Files to Container
    Expose Port
    Launch Command

    View Slide

  9. Scale your App
    myapp
    myapp
    myapp
    myapp
    myapp
    myapp
    myapp
    myapp
    myapp
    myapp
    myapp
    myapp
    myapp
    myapp

    View Slide

  10. Ready to gain super powers?
    Photo Credit Julian Fong at Flickr
    git clone https://github.com/harbur/docker-workshop

    View Slide