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
Endo_Hizumi
October 31, 2018
180
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.2k
JSでギャルゲー!~JavaScriptでノベルゲーエンジン作ったった~
endohizumi
1
500
意志の力が9割。アニメから学ぶAI時代のこれから。
endohizumi
1
210
JSでギャルゲーをつくろう!(第3版)
endohizumi
0
310
JSでギャルゲーをつくろう!(第2版)
endohizumi
0
110
JSでギャルゲーをつくろう!
endohizumi
0
550
テレビを飲み込め! Webの嵐!! / Swallow the TV! Web storm! !!
endohizumi
1
140
OK:Googleから始めるスマートホーム生活 / OK: Smart home life starting from Google
endohizumi
0
380
クソアプリで基礎固め / Tutorial in your joke app for Vue.js
endohizumi
0
280
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
Designing for Timeless Needs
cassininazir
1
520
The Invisible Side of Design
smashingmag
301
52k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
Documentation Writing (for coders)
carmenintech
77
5.6k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Bash Introduction
62gerente
615
220k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
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で参照設定すれば、ホストをクリーンなまま使えるのがうれしい ・同じコンテナでも実行環境によって挙動が違うことがある。 ・ヒズミさんは犬が好き
ご清聴ありがとうございました!!