Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Docker初級者によるDocker布教
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
dyoshikawa
March 26, 2018
0
59
Docker初級者によるDocker布教
dyoshikawa
March 26, 2018
Tweet
Share
More Decks by dyoshikawa
See All by dyoshikawa
CloudGarageでWebアプリ立ててみた
dyoshikawa
2
270
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1k
For a Future-Friendly Web
brad_frost
183
10k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
250
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
230
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
52k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
150
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
250
Joys of Absence: A Defence of Solitary Play
codingconduct
1
320
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
330
Transcript
Docker初級者による Docker布教 2017/12/9 広島フロントエンド勉強会LT dyoshikawa1993
⾃⼰紹介 • 1993/1 ⽣まれる(京都) • 2015/3 法学部卒業(京都) • 2015/4〜2016/12 機械メーカー/営業(京都) • 2017/2〜2017/10 SIer/PG(⼤阪) •
2017/11〜 現職/Web制作/エンジニア(広島) • プログラミング歴1年弱くらい • 勉強会で話すのは初めてです! • ブログ https://amedog.net/
今⽇の発表内容
Docker
全く触ったことない⼈ に紹介してみる
まず・・・なぜDockerを 使ってみようと思ったのか
流⾏ってるから
できるエンジニア御⽤達っぽいから
2ヶ⽉くらい プライベートで使ってみた
ざっくり わかったことを共有
Dockerとは・・・
速くて軽い 仮想化ツール
使ってよかったこと
環境構築が楽 デプロイが楽 あいのりが楽
環境構築が楽
仮想環境(コンテナ)どうしを連携 Redmineコンテナ MariaDBコンテナ Dockerで作る環境(雰囲気)
環境構築を⾃動化できる コンテナのビルド コンテナの連携 ⼀度書いたら後はDockerにお願いするだけ
デプロイが楽
ローカル環境で作り込んだ コンテナをそのまま本番環境に送れる Redmine+MariaDB Redmine+MariaDB PUSH PULL 本番 ローカル DockerHub
ローカルでは動くけど 本番で動かない!が (ほぼ)なくなる
あいのりが楽
あいのり?
1つのサーバ上で複数アプリを動かす PHP5.3アプリ MySQL5.5 PHP5.6アプリ MySQL5.6 PHP7.1アプリ MySQL8.0 Nginx/Apache
Dockerなら楽! • パッケージの依存関係コンフリクト・・・ • 複数バージョン同居・・・ • ⾔語やフレームワークのバージョンの更改・・・ コンテナ―コンテナ間は別環境扱いなので 気にしなくてよくなる!
Dockerによるあいのりで サーバのレンタル代を ケチれる!
Dockerの始め⽅
Dockerの始め⽅ • Docker for Mac • https://www.docker.com/docker-mac • Docker for
Windows • https://www.docker.com/docker-windows • Docker on Linux • yum install • apt-get install
(この発表よりもわかりやすい)参考 リンク • https://qiita.com/ryurock/items/ c0515a4a9dcb3dd44d3b • https://qiita.com/minodisk/items/ 5ffd20588b995523756f • https://qiita.com/niisan-tokyo/items/
88a53a1b4aa7ad60723e
まとめ
⼀緒にDocker 勉強しましょう!
さいごに • 本当はDockerのコンテナはイメージから⽴ち上げるので すが、時間制約もあり「コンテナ」と統⼀しました。 • なので正確でない部分があります。 • ⾃分も初⼼者・初級者レベルなので、その他間違い等あれ ばご指摘頂ければすごく助かります!
ありがとう ございました
勉強会やります! • 【ハンズオン】Docker超⼊⾨ • ⼤⼿町ファーストビル6階 クランチタイマー株式会社 • 最寄広電=市役所前駅(徒歩5分くらい) • 2018/01/09(⽕)
PM7:30〜 • CONNPASSに載せてます