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-for-beginners
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Kohei Ota
February 11, 2019
Technology
290
0
Share
docker-for-beginners
Kohei Ota
February 11, 2019
More Decks by Kohei Ota
See All by Kohei Ota
CloudNative Meets WebAssembly: Exploring Wasm's Potential to Replace Containers
inductor
4
3.5k
The Cloud Native Chronicles: 10 Years of Community Growth Inside and Outside Japan
inductor
0
170
Cracking the KubeCon CfP
inductor
2
840
KubeCon Recap -Platform migration at Scale-
inductor
1
1.1k
コンテナビルド最新事情 2022年度版 / Container Build 2022
inductor
3
590
データベースとストレージのレプリケーション入門 / Intro-of-database-and-storage-replication
inductor
29
6.6k
KubeConのケーススタディから振り返る、Platform for Platforms のあり方と その実践 / Lessons from KubeCon case studies: Platform for Platforms and its practice
inductor
3
970
オンラインの技術カンファレンスを安定稼働させるための取り組み / SRE activity for online conference platform
inductor
1
1.4k
Kubernetesネットワーキング初級者脱出ガイド / Kubernetes networking beginner's guide
inductor
22
7.4k
Other Decks in Technology
See All in Technology
AI時代の品質はテストプロセスの作り直し #scrumniigata
kyonmm
PRO
4
1.4k
AI 時代の Platform Engineering
recruitengineers
PRO
1
130
エージェント時代の UIとAPI、CLI戦略
coincheck_recruit
0
160
クラウドネイティブ DB はいかにして制約を 克服したか? 〜進化歴史から紐解く、スケーラブルアーキテクチャ設計指針〜
hacomono
PRO
6
820
ボトムアップの改善の火を灯し続けろ!〜支援現場で学んだ、消えないための3つの打ち手〜 / 20260509 Kazuki Mori
shift_evolve
PRO
2
610
ボトムアップ限界を越える - 20チームを束る "Drive Map" / Beyond Bottom-Up: A 'Drive Map' for 20 Teams
kaonavi
0
170
React 19×Rustツール 進化の「ズレ」を設計で埋める
remrem0090
1
110
[Oracle TechNight#99] 生成AI時代のAI/ML入門 ~ AIとオラクルデータベースの関係 (前半)
oracle4engineer
PRO
2
240
AI時代に、 データアナリストがデータエンジニアに異動して
jackojacko_
0
600
ブラウザの投機的読み込みと投機ルールAPIを理解し、Webサービスのパフォーマンスを最適化する
shuta13
3
300
毎日の作業を Claude Code 経由にしたら、 ノウハウがコードになった
kossykinto
1
1.2k
CyberAgent YJC Connect
shimaf4979
1
170
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
370
Fireside Chat
paigeccino
42
3.9k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.5k
Paper Plane (Part 1)
katiecoart
PRO
0
7.2k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
54k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
120
The untapped power of vector embeddings
frankvandijk
2
1.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
55k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.4k
Transcript
https://hub.docker.com/signup でIDの作成をお願いします。
ブラウザだけでOK! 触ってやってみる はじめてのDOCKER インフラ勉強会 2019/02/11 Presented by @inductor
今日話すこと 自己紹介 Dockerについて Dockerの3原則 ローカルでDockerを試す方法 ブラウザでDockerを動かしてみよう!
自己紹介 Twitter: @_inductor_ GitHub/Qiita: @inductor SRE Engineer @ ZOZO Technologies,
Inc. Organizer @ Docker Meetup Tokyo / Cloud Native Days(ex-JKD)
DOCKERについて
Dockerってなに? コンテナ型のアプリケーション実行基盤 dotCloud社が、自社のPaaS(Platform as a Service)環境を作るために開発した基盤 今のDocker社の前身 軽量で、起動からアプリケーションの実行まで を非常に高速に行うことができる
コンテナ型仮想化ってなに? コンテナとは アプリケーションの実行に必要な環境を一つの パッケージにまとめた仮想的な単位 ※プログラミング言語の実行環境、依存関係のあるライブラリ、アプリケー ション本体など OSよりも上のレイヤを、「Linuxカーネル」を利 用して再現する仮想化の方法 Linuxカーネルの機能を共用で使って、複数の環境 を1つのホスト上で動かすことができる。
LINUXカーネルとDOCKERコンテナ の実行環境さえあれば、どこでも 同じことが再現できるね!という のが強み(※一部例外あり)
None
Dockerの特徴 OSはホストのものを使うので、アプリケーション の立ち上げまでが高速 後述するDockerイメージと呼ばれるパッケージン グシステムのおかげで、アプリケーションのデプ ロイや実行が非常に簡単になる ロゴがかわいい
Dockerイメージとは Dockerコンテナを動かすのに必要なファイルシス テム どんなファイルをどこに置いて、何を実行するの かなどが複数のレイヤに渡って表現される Dockerイメージを実際に動かしたものがDocker コンテナ
DOCKERの3原則
None
Build Dockerイメージを作成すること Dockerfileと呼ばれるファイルを作って、Docker イメージのビルドを行う テキストファイルなので、Gitで管理できることも 大きなメリット(Infrastructure as Code化できる) 「Dockerでどんなことをやりたいか」を書くため、 非常に重要な概念
docker build
Ship 作成したDockerイメージを配布すること 一般的にはDocker Hubなどのコンテナレジストリを 使う Dockerイメージを管理、シェアするためのリポジトリ (GitHubのDocker版) docker push &
docker pull
Run 配布されたDockerイメージを、実際に実行すること サーバー上やローカルマシンで全く同じことができる ね!すごいね!と体験するところ docker run
ローカルでDOCKERを動かす方法
Windows Docker for Windowsを使う Windows Subsystem for Linux(WSL)を使うとよりそ れっぽくなる Mac
Docker for Macを使う Linux Docker CEを入れる Other UNIX 知らない
今日はブラウザだけでOK!
https://labs.play-with-docker.com/