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
what-is-container
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
hiroaki
July 25, 2022
Programming
1
98
what-is-container
hiroaki
July 25, 2022
Tweet
Share
More Decks by hiroaki
See All by hiroaki
プロダクト負債に立ち向かう
hiroaki_u
2
1.7k
pdm_vibe_coding_fail.pdf
hiroaki_u
0
170
Communication with Ubiquitous Language
hiroaki_u
0
96
how to determine architecture
hiroaki_u
1
230
the-concept-of-product-creation-learned-in-startup-science
hiroaki_u
0
180
difference-between-nginx-and-apache
hiroaki_u
0
76
CI_CD_by_Code_Brothers_by_AWS
hiroaki_u
0
51
think of study
hiroaki_u
1
100
CI/CD with CodePipeline and ECS
hiroaki_u
0
130
Other Decks in Programming
See All in Programming
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
0
130
Docコメントで始める簡単ガードレール
keisukeikeda
1
130
Claude Codeセッション現状確認 2026福岡 / fukuoka-aicoding-00-beacon
monochromegane
4
440
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
9
2.9k
モダンOBSプラグイン開発
umireon
0
160
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
120
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
570
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
570
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
310
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.5k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
700
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
150
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
200
What's in a price? How to price your products and services
michaelherold
247
13k
Bash Introduction
62gerente
615
210k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
200
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
270
Balancing Empowerment & Direction
lara
5
950
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Navigating Team Friction
lara
192
16k
Designing for Performance
lara
611
70k
Transcript
コンテナってなんだ? hiroaki
Who am I ? 名前:hiroaki 技術:PHP/ Laravel, AWS 年齢:もうすぐ28歳 歴 :1年
趣味:筋トレ、サウナ
コンテナの話に入る前に・・・
サーバーで起こっていることを簡 単に確認してみましょう
アプリケーション ミドルウェア OS カーネル ハードウェア(CPU, メモリ等) デーモン ブートローダー デバイスドライバ シェル
GUI
OS ハードウェア(CPU, メモリ等) プロセス1 プロセス2 プロセス3 プロセス5 プロセス4 プロセス6
ミドルウェア プロセスを生成 カーネル 処理を実行 プロセス1 プロセス2 カーネルがプロセスを発行
プロセスを生成 プロセス発行する場所を分ける カーネル プロセス1 プロセス2 処理を実行
プロセス発行場所を分割 カーネル お互いのことは把握していない 全部把握
サーバー全体ではこんな感じ 引用:『軽くて使いやすい仮想化技術 「Docker」の仕組みとエンタープライズ 開発における4つの活用事例』
コンテナとは分離した プロセスの実行環境
Dockerとは?? コンテナを作り出すソフト
socket or API docker クライアント docker エンジン docker デーモン
コンテナはイメージから作られる 画像元:『アーキテクチャの理解(公式)』 docker run docker build docker run
隔離された実行環境 コンテナを作るソフト コンテナ Docker
コンテナが複数あるときを考える network volume
コンテナ複数立てるのは大変 network volume
複数コンテナを扱うスペシャリスト docker-compose
コンテナを複数立ち上げるのは大変 network volume
docker-composeなら余裕 docker-compose.yml
本番環境の運用を考える EC2 サーバーダウン
本番環境は冗長化するのが基本 同じコンテナ構成作るの面倒。。。
コンテナ オーケストレーションサービス Kubernetes ECS EKS
同じコンテナ構成をつくる
サーバーの構成を維持する
サーバーの構成を維持する ✨ ✨ ✨
隔離された実行環境 コンテナを作るソフト コンテナ Docker docker-compose ECS 複数コンテナを 実行するツール コンテナを管理するサービス
ご清聴ありがとうございました。
References ・仮想化技術 https://codezine.jp/article/detail/7894 Web Sites etc. ・ECS https://kws-cloud-tech.com/ https://www.slideshare.net/zembutsu/what-isdockerdoing ・Dockerのアーキテクチャ
https://www.ogis-ri.co.jp/otc/hiroba/technical/docker/part6.html https://knowledge.sakura.ad.jp/21387/ ・docker-compose https://docs.docker.jp/engine/introduction/understanding-docker.html