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

Container technology in-house study session

nwiizo
June 18, 2019

Container technology in-house study session

社内向け勉強会 その1

nwiizo

June 18, 2019
Tweet

More Decks by nwiizo

Other Decks in Programming

Transcript

  1. ⚫ https://www.docker.com/ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫

    ⚫ ⚫ ⚫ ⚫ ⚫ https://cloud.google.com/blog/products/gcp/7-best-practices-for-building-containers https://docs.docker.com/v17.12/develop/develop-images/dockerfile_best-practices/ https://12factor.net/ja/
  2. 1. FROM golang:1.11-alpine 2. ADD . /go/src/ 3. EXPOSE 8080

    4. CMD ["/usr/local/go/bin/go", "run", "/go/src/server.go"]
  3. 1. FROM golang:1.11-alpine 2. ADD . /go/src/ 3. EXPOSE 8080

    4. CMD ["/usr/local/go/bin/go", "run", "/go/src/main.go"]