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
hiroaki
July 25, 2022
Programming
1
93
what-is-container
hiroaki
July 25, 2022
Tweet
Share
More Decks by hiroaki
See All by hiroaki
プロダクト負債に立ち向かう
hiroaki_u
2
1.6k
pdm_vibe_coding_fail.pdf
hiroaki_u
0
170
Communication with Ubiquitous Language
hiroaki_u
0
94
how to determine architecture
hiroaki_u
1
230
the-concept-of-product-creation-learned-in-startup-science
hiroaki_u
0
170
difference-between-nginx-and-apache
hiroaki_u
0
73
CI_CD_by_Code_Brothers_by_AWS
hiroaki_u
0
48
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
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
370
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1.1k
株式会社 Sun terras カンパニーデック
sunterras
0
1.9k
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
250
AWS Infrastructure as Code の新機能 2025 総まとめ~ SA 4人による怒涛のデモ祭り ~
konokenj
8
1.7k
Apache Iceberg V3 and migration to V3
tomtanaka
0
220
AIプロダクト時代のQAエンジニアに求められること
imtnd
1
480
JPUG勉強会 OSSデータベースの内部構造を理解しよう
oga5
2
220
AIコーディングの理想と現実 2026 | AI Coding: Expectations vs. Reality 2026
tomohisa
0
560
浮動小数の比較について
kishikawakatsumi
0
340
今更考える「単一責任原則」 / Thinking about the Single Responsibility Principle
tooppoo
2
940
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
360
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
400
GraphQLとの向き合い方2022年版
quramy
50
14k
Raft: Consensus for Rubyists
vanstee
141
7.3k
Mobile First: as difficult as doing things right
swwweet
225
10k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
110
The Curious Case for Waylosing
cassininazir
0
250
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
85
Become a Pro
speakerdeck
PRO
31
5.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
72k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
290
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