Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
今更_Docker使ってみた
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Endo_Hizumi
October 31, 2018
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
今更_Docker使ってみた
第131回 PHP勉強会@東京で、docker を使ってみた所感を話してみました。
Endo_Hizumi
October 31, 2018
More Decks by Endo_Hizumi
See All by Endo_Hizumi
欲しいを叶える個人開発の進め方 / How to Run an Indie Project That Brings Your Ideas to Life
endohizumi
0
1.3k
JSでギャルゲー!~JavaScriptでノベルゲーエンジン作ったった~
endohizumi
1
520
意志の力が9割。アニメから学ぶAI時代のこれから。
endohizumi
1
210
JSでギャルゲーをつくろう!(第3版)
endohizumi
0
340
JSでギャルゲーをつくろう!(第2版)
endohizumi
0
110
JSでギャルゲーをつくろう!
endohizumi
0
570
テレビを飲み込め! Webの嵐!! / Swallow the TV! Web storm! !!
endohizumi
1
140
OK:Googleから始めるスマートホーム生活 / OK: Smart home life starting from Google
endohizumi
0
390
クソアプリで基礎固め / Tutorial in your joke app for Vue.js
endohizumi
0
280
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
810
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Site-Speed That Sticks
csswizardry
13
1.6k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
510
Building AI with AI
inesmontani
PRO
1
1.4k
Thoughts on Productivity
jonyablonski
76
5.4k
The Pragmatic Product Professional
lauravandoore
37
7.5k
The Cult of Friendly URLs
andyhume
79
7.1k
For a Future-Friendly Web
brad_frost
184
11k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Transcript
今更、Docker使ってみた 遠藤ヒズミ
遠藤ヒズミ(@endo_hizumi)とは ・千葉県在住の27歳の男 ・PHPに愛着を持っている(業務はPython(3か月目)だけど) ・平成仮面ライダーと人型ロボットが好き ・自社に戻ると珍しいと言われるSレアSESエンギニャー(にゃーん ・犬好きです。
None
Dockerの特徴 ・CPUやメモリ・ファイルシステムなど、リソースを隔離して、もう一台マシンがあるよう に見せてくれる(=仮想化)ソフトです。 ・バージョン管理されてるので、過去に戻ることが可能。 ・VirtualBoxやVMware Playerなどのホスト型仮想化と違い、コンテナ型仮想化は、プ ロセスを隔離するだけなので、起動や停止が高速。 ・Linuxコンテナという機能に依存してるので、実はLinuxでしか動かない
図解 ホスト型 コンテナ型 ハイパーバイザ型
図解 ホスト型 コンテナ型 Hyper-V
docker使って何が嬉しい? ・環境構築を省けて、嬉しい。 ・ライブラリの競合や設定の競合を意識しなくて嬉しい。 ・クリーンな環境が高速で用意できるのがうれしい。 ・Dockerfileに設定を記述して、他環境で同じように動作するのが嬉しい! ・Dockerfileに設定を記述して、他環境で同じように動作するのが嬉しい!!
どこがうれしくない?? ・既存のコンテナをいじろうとすると、ハードルがぐんっと上がる・・・ ・同じコンテナでも、挙動が違う時がある。 ・コンテナ内はミニマムが原則らしいので、execしたあと不便。 ・英語圏のコンテナだと、日本語ロケールがなくて日本語が使えないことが。
ほかに嬉しいと思ったポイント IntellJ系のIDE(PyCharm/PhpStorm)だと、Dockerコンテナ内のライブラリを参照設 定できるので、ホスト環境をクリーンなまま使える。 ⇒IDEのために、ライブラリをホスト環境に入れずに済む!
まとめ ・Dockerfileで、環境構築の手間が省けて、嬉しい。 ・動作を確認した環境のまま、他の環境に持っていけるのが嬉しい。 ・IDEで参照設定すれば、ホストをクリーンなまま使えるのがうれしい ・同じコンテナでも実行環境によって挙動が違うことがある。 ・ヒズミさんは犬が好き
ご清聴ありがとうございました!!