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
what-is-container
Search
hiroaki
July 25, 2022
Programming
130
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
what-is-container
hiroaki
July 25, 2022
More Decks by hiroaki
See All by hiroaki
leadership-that-endures-book-lt
hiroaki_u
0
45
プロダクト負債に立ち向かう
hiroaki_u
2
2.2k
pdm_vibe_coding_fail.pdf
hiroaki_u
0
230
Communication with Ubiquitous Language
hiroaki_u
0
120
how to determine architecture
hiroaki_u
1
310
the-concept-of-product-creation-learned-in-startup-science
hiroaki_u
0
190
difference-between-nginx-and-apache
hiroaki_u
0
100
CI_CD_by_Code_Brothers_by_AWS
hiroaki_u
0
65
think of study
hiroaki_u
1
130
Other Decks in Programming
See All in Programming
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
R8 の設定見直しでアプリサイズ削減
andpad
0
220
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
1k
すこし踏み込む CancellationToken
htkym
2
1.7k
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
ジョジョの世界をXRで再現する
mofurune
0
160
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
220
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
Featured
See All Featured
The Curse of the Amulet
leimatthew05
3
16k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
Bash Introduction
62gerente
615
220k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
WENDY [Excerpt]
tessaabrams
14
40k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
Optimizing for Happiness
mojombo
378
71k
It's Worth the Effort
3n
188
29k
Faster Mobile Websites
deanohume
310
32k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
BBQ
matthewcrist
90
10k
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