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
Day 2 - Docker
Search
offz
April 20, 2017
Programming
0
42
Day 2 - Docker
offz
April 20, 2017
Tweet
Share
More Decks by offz
See All by offz
TM-P2-IT-security
offfffz
0
18
Docker Compose for Rails Developer
offfffz
1
34
Day 2 - CI
offfffz
0
54
Day 1 - Git
offfffz
0
87
Day 1 - Testing
offfffz
0
46
Other Decks in Programming
See All in Programming
Documentation testsの恩恵 / Documentation testing benefits
ssssota
1
550
Open standards for building event-driven applications in the cloud
meteatamel
0
230
RaaP
ksss
0
150
Fragment Composition of GraphQL
quramy
14
1.7k
Webアプリをできるだけコードを手書きしないで作ってみる
tomokusaba
2
230
GoでParserを書く
karupanerura
1
120
“Seeing Like a Programmer”—Resiliency, Limits, and Moral Hazards in Software Engineering (LambdaConf 2024)
chriskrycho
0
430
Runtime Objects in Rust
mitsuhiko
0
220
PHPコードの実行モデルを理解する / Understanding-the-PHP-Execution-Model
shin1x1
0
1k
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
110
Jetpack Composeとデザインシステム
rmakiyama
0
230
ソースコードを美しくたもつために ~コードレビューの認知限界を突破し、年間400リリースを達成する~
kotauchisunsun
1
700
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
21
4k
Robots, Beer and Maslow
schacon
PRO
155
8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
22
1.4k
A Philosophy of Restraint
colly
197
16k
Infographics Made Easy
chrislema
238
18k
A better future with KSS
kneath
231
16k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Done Done
chrislema
178
15k
Transcript
Docker
Docker vs. VM
Commands - pull - push - run - exec -
start - stop - kill - ps - images - rm - rmi
Cheat Sheet http://deeeet.com/writing/2013/12/08/docker- cheat-with-exmaple/
walkthrough 01 1. docker run hello-world 2. docker run alpine
echo 'Hello World' 3. docker run alpine ps aux 4. docker run alpine pwd
walkthrough 02 1. docker ps 2. docker ps -a 3.
docker rm CONTAINER_ID 4. docker images 5. docker rmi hello-world
walkthrough 03 1. docker run --rm alpine top 2. docker
ps 3. docker exec -it CONTAINER_ID sh
walkthrough 04 1. docker run --rm \ -v "$HOME/Desktop:\" alpine
watch ls 2. open new GIT BASH 3. docker ps 4. create a file or folder at ~/Desktop 5. see the file changes in docker