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

Docker for Startups

Docker for Startups

Slides for Codemotion 2016 workshop in how docker solves many of your startup or team project with ease

Enrique García Navalón

November 18, 2016
Tweet

More Decks by Enrique García Navalón

Other Decks in Technology

Transcript

  1. MADRID · NOV 18-19 · 2016 About the speaker Full-stack

    developer (backend is better) Happily working at SyncRTC Github: github.com/garcianavalon Twitter: @garcianavalon Email: [email protected]
  2. MADRID · NOV 18-19 · 2016 But before we start...

    Do you have docker installed? And docker-compose installed? Load the images: docker load -i <path to image tar file>
  3. MADRID · NOV 18-19 · 2016 What is Docker then?

    Technically: A container (lightweight VMs) tool to create fast, isolated, replicable and deterministic environments for running processes. Christian: Little magic boxes that run stuff without me installing nothing :D And they even do it fast!
  4. MADRID · NOV 18-19 · 2016 The benefits of using

    Docker Easy to integrate other stuff Replicate production setup in development Easy to share shame environment with peers Fuck-up proof: easy to clean and regenerate Unified interface for executing (run), updating (pull) and stopping Focus on your app, reuse everything
  5. MADRID · NOV 18-19 · 2016 The problems of a

    Startup • I don’t know what technologies I will use • I don’t even know what my product is • It was me at first and now we are 5 I did it as a quick prototype… Money? What money?
  6. MADRID · NOV 18-19 · 2016 A Docker success story

    @syncrtc • Fully migrated to docker our web stack • Using docker ∘ for development ∘ in production (!) for ~6 months
  7. MADRID · NOV 18-19 · 2016 Hey, this is a

    workshop {let’s code!} All code and tasks at github.com/garcianavalon/codemotion-docker-startups
  8. MADRID · NOV 18-19 · 2016 But before we start...

    Do you have docker installed? And docker-compose installed? Load the images: docker load -i <path to image tar file>
  9. MADRID · NOV 18-19 · 2016 What is this docker-compose?

    • A .yml file that holds the arguments for docker run. • Makes it easy to orchestrate your containers. • Enables versioning an environment.