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

Dockerization (#DEVFESTBY 25.11.2016)

Sergey Kibish
November 25, 2016

Dockerization (#DEVFESTBY 25.11.2016)

During this workshop all of you will have one common goal. Only together you will make an application successfully up and running.

You will write Dockerfiles, building images, configuring Docker Compose, even work with Docker Registry.

Sergey Kibish

November 25, 2016
Tweet

More Decks by Sergey Kibish

Other Decks in Technology

Transcript

  1. WHOAMI • Software developer @ Transact Pro • Can’t sit

    still (for a long time) • Believe in Docker
  2. AGENDA • Check & Prepare • A little story •

    Time to get hands dirty • sleep (5~30).minutes • Have a little bit more fun
  3. CHECK • Docker & Docker Compose (Linux) or Docker Toolbox

    (Mac & Win) installed • Requirements are met
  4. STORY Intro: • You are newcomer in the project /

    startup • Project is written using microservices architecture • Each service is written in his own language and has it’s own unique setup Goal: • You need to make this project up and running using Docker P.S. They have README.md’s! :)
  5. TOP VIEW interface logic charger filler Service for card charging

    Service with business logic Service for machine refill Vending machine
  6. EXPOSE $PORT CMD [“./app/example”] DOCKERFILE ADD . /app/ RUN apt-get

    update && apt-get install -y nginx FROM ubuntu:latest ENV PORT 8080
  7. DOCKERFILE CMD [“./app/example”] EXPOSE $PORT RUN apt-get update && apt-get

    install -y nginx ADD . /app/ ENV PORT 8080 FROM ubuntu:latest
  8. NETWORKS frontend backend interface logic charger filler Service for card

    charging Service with business logic Service for machine refill Vending machine
  9. WHO TO FOLLOW • Docker (@docker) • Jérôme Petazzoni (@jpetazzo)

    • The New Stack (@thenewstack) • ThoughtWorks (@thoughtworks) • https://blog.docker.com/ • Youtube dockerrun