Atelier Paris Web : Introduction à Docker

Atelier Paris Web : Introduction à Docker

415efaa445ed983307231341eaa4be55?s=128

Renaud Chaput

October 06, 2018
Tweet

Transcript

  1. Atelier :
 Introduction à Docker Paris Web — 06/10/2018

  2. Renaud Chaput @renchap

  3. Renaud Chaput @renchap

  4. None
  5. None
  6. None
  7. None
  8. None
  9. None
  10. None
  11. None
  12. None
  13. None
  14. None
  15. None
  16. None
  17. None
  18. None
  19. None
  20. None
  21. None
  22. None
  23. None
  24. 1 65536

  25. 1 65536

  26. 1 65536 80

  27. 1 65536 80 80

  28. 1 65536 80 80 80

  29. 1 65536 80 80 80 80

  30. 1 65536 80 80 80 80 8080

  31. 1 65536 80 80 80 80 8080

  32. 1 65536 80 80 80 80 8080 8081

  33. 1 65536 80 80 80 80 8080 8081 8082

  34. None
  35. FROM ruby:2.5-alpine

  36. FROM ruby:2.5-alpine

  37. FROM ruby:2.5-alpine WORKDIR /usr/src/app

  38. FROM ruby:2.5-alpine WORKDIR /usr/src/app

  39. FROM ruby:2.5-alpine WORKDIR /usr/src/app COPY . .

  40. FROM ruby:2.5-alpine WORKDIR /usr/src/app COPY . .

  41. FROM ruby:2.5-alpine WORKDIR /usr/src/app COPY . . RUN bundle install

  42. FROM ruby:2.5-alpine WORKDIR /usr/src/app COPY . . RUN bundle install

  43. FROM ruby:2.5-alpine WORKDIR /usr/src/app COPY . . RUN bundle install

    EXPOSE 4567
  44. FROM ruby:2.5-alpine WORKDIR /usr/src/app COPY . . RUN bundle install

    EXPOSE 4567
  45. FROM ruby:2.5-alpine WORKDIR /usr/src/app COPY . . RUN bundle install

    EXPOSE 4567 CMD ["ruby", "./app.rb"]
  46. Docker Image

  47. Docker Image 85777c03b72554cd08e721b6148dc27d2a50a7a6 FROM ruby:2.5-alpine

  48. Docker Image 85777c03b72554cd08e721b6148dc27d2a50a7a6 FROM ruby:2.5-alpine 4b17286a2bb954e9d04c0880a911b8be10133ba3 WORKDIR /usr/src/app

  49. Docker Image 85777c03b72554cd08e721b6148dc27d2a50a7a6 FROM ruby:2.5-alpine 7c0a25c06ea30bae50e39a37a5997e31a1a96e20 CMD ["ruby", "./app.rb"] 8af56de68279cb6f5ed022f31af18b9fcdcc2e92

    EXPOSE 4567 4b17286a2bb954e9d04c0880a911b8be10133ba3 WORKDIR /usr/src/app fa9f22e62229ac79ecee117c88192ee717a9e178 COPY . .
  50. Renaud Chaput @renchap Racontez vos histoires en photo !

  51. Renaud Chaput @renchap Racontez vos histoires en photo !