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

docker-with-packer

 docker-with-packer

Web Tech Tokyo #1 (Docker Tips 共有会)
PackerでちゃんとDockerする!

資料中の関連資料一覧

ref. 1コマンドで本番サーバと開発サーバ (のVMイメージ)を作る話に移行した話, 2016-07-08
http://tech.vasily.jp/entry/create-prod-and-dev-vm-image-atst-by-packer

ref. EB with multi-container Docker をproductionで1年間運用して起きたこと, 2016-06-27
https://speakerdeck.com/tknzk/eb-with-multi-container-docker

ref. ElasticBeanstalk w/ multi-container docker 最新事情, 2016-08-29
http://tech.vasily.jp/entry/ecr_secondary_docker_registry

ref. AndroidのCI環境をCircleCIからWerckerに移行しました, 2016-06-15
http://tech.vasily.jp/entry/migrate_android_ci_from_circleci_to_wercker

Tatsuro Mitsuno

October 12, 2016
Tweet

More Decks by Tatsuro Mitsuno

Other Decks in Technology

Transcript

  1. 7"4*-: *OD ࣗݾ঺հ wޫ໺ୡ࿕5BUTVSP.JUTVOP !LPUBUTV  w7"4*-: *OD*OGSB&OHJOFFS wʙ w҆ͯ͘଎ͯ҆͘શͳΠϯϑϥΛ࡞Δ

    wੜ࢈ੑΛ޲্ͤ͞ΔऔΓ૊Έ झຯ *DPOJMMVTUSBUFECZ:04)* IUUQTXXXGBDFCPPLDPNZPTIJZPOF
  2. 7"4*-: *OD ੍໿ϝλσʔλͷදݱ͕Ͱ͖ͳ͍ %PDLFSpMFͷॻࣜ දݱՄೳ͔ʁ උߟ '30.  36/ QSPWJEFSͰදݱ

    "%% QSPWJEFSͰදݱ $01: QSPWJEFSͰදݱ 0/#6*-% QSPWJEFSͰදݱ 4)&-- ❓ TIFMMQSPWJEFSͷJOMJOF@TIFCBOHͰදݱʁ ."*/5"*/&3 $.% -"#&- 
 &9104& &/7 &/53:10*/5 
 70-6.& 64&3 803,%*3 
 "3( 45014*(/"- 
 )&"-5)$)&$, ❌ 
  3. 7"4*-: *OD "RepoTags": [ "nginx-test:latest" ], "DockerVersion": "1.12.1", "Author": "Tatsuro

    Mitsuno (@kotatsu360)", "Config": { "User": "vasily", "ExposedPorts": { "443/tcp": {}, "80/tcp": {} }, "Env": [ "PATH=/usr/local/sbin: ...", "VASILY=YEAH" ], "Cmd": [ "nginx", "-g", "daemon off;" ] } "post-processors": [ [ { "type": "docker-tag", "repository": "nginx-test", "tag":"latest" }, { "type": "docker-dockerfile", "maintainer": "Tatsuro Mitsuno (@kotatsu360)", "user": "vasily", "expose": [80, 443], "cmd": ["nginx", "-g", "daemon off;"], "env": { "VASILY": "YEAH" } } ] ] QBDLFS༻ͷKTPOͷҰ෦ EPDLFSJOTQFDUͷҰ෦
  4. 7"4*-: *OD ิ଍ฐࣾͷ%PDLFSࣄ৘  ΞϓϦέʔγϣϯαʔό
 ࠓ೔ͷ࿩
 ຊ൪౤ೖલͷݕূத
 %PDLFSXJUI1BDLFS
  "%഑৴αʔό


    ຊ൪ӡ༻ʙ
 BMQJOFϕʔε
 &MBTUJD#FBOTUBMLXJUINVMUJDPOUBJOFS SFG&#XJUINVMUJDPOUBJOFS%PDLFSΛQSPEVDUJPOͰ೥ؒӡ༻ͯ͠ى͖ͨ͜ͱ  SFG&MBTUJD#FBOTUBMLXNVMUJDPOUBJOFSEPDLFS࠷৽ࣄ৘   "OESPJEΞϓϦͷ$*؀ڥ
 ຊ൪ӡ༻ʙ
 VCVOUVϕʔε
 %PDLFSPO8FSDLFS SFG"OESPJEͷ$*؀ڥΛ$JSDMF$*͔Β8FSDLFSʹҠߦ͠·ͨ͠