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
Docker Swarm Introduction
Search
Victor Vieux
December 05, 2014
Technology
1.7k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Docker Swarm Introduction
Docker Swarm breakout session at DockerCon EU.
Victor Vieux
December 05, 2014
Transcript
9 slides
Docker Swarm! @aluzzardi - @vieux!
Demo! us-west! us-east! Docker! CLI! Docker! CLI! Docker! CLI! =!
RAM: 2GB! CPU: 1core!
Demo! us-west! us-east! =! RAM: 2GB! CPU: 1core! Docker! CLI!
Docker! CLI!
Setup! • Create a cluster:! $ swarm create • Add
nodes to a cluster:! $ swarm join --token=<token> --addr=<node_ip> • List nodes in a cluster! $ swarm list --token=<token> • Start Swarm! $ swarm manage --token=<token> --addr=<swarm_ip> ! !
Resource Management! • Memory! " " $ docker run -m
1g … • CPU! " " $ docker run -c 1 … • Ports! " " $ docker run -p 80:80 … • More to come, ex: network interfaces! ! ! !
Constraints! • Standard constraints induced from docker info! docker run
-e “constraint:operatingsystem=fedora” … " " docker run -e “constraint:storagedriver=aufs” … • Custom constraints with host labels! " " docker -d --label “region=us-east” " " docker run -e “constraint:region=us-east” … • Pin a container to a specific host! " " docker run –e “constraint:node=ubuntu-2” … • More to come, ex: affinity! !
Rescheduling! • Rescheduling policies; similar to `--restart`! • Pending status!
! ! !
Swarm scheduler! 2 steps:! ! • 1- Apply filters to
exclude nodes! " " - ports! " " - labels! " " - health! • 2- Use a strategy to pick the best node! " " - bin packing! " " - random! ! ! ! ! Contributions are welcome ☺ : !
http://github.com/docker/swarm! @aluzzardi - @vieux! Thank You.!
More Decks by Victor Vieux
See All by Victor Vieux
What's new in Docker ?
vieux
0
190
Docker Swarm - Online Meetup [#SwarmWeek Edition]
vieux
2
1.9k
What's new in Swarm 1.1
vieux
7
1.3k
Docker Swarm on Mesos
vieux
5
650
Orchestration for Sysadmins
vieux
1
160
Docker Swarm
vieux
2
930
Docker machine, swarm and compose: the future of distributed apps
vieux
1
340
Run Any App on Mesos on Any Infrastructure Using Docker
vieux
4
1.6k
What's new in the latest Docker release and Docker Hub @ braintree
vieux
10
1.5k
Other Decks in Technology
See All in Technology
コーディングできない僕にBobが舞い降りた
shumpei3
0
140
Gov-JAWS#9 統合監視機能のマネージドサービス化+AIによる障害時自動調査
fj_yoshimura_kosuke
0
230
3文字略語に騙されない! 世界一わかりやすい『EDR』超入門
kamadamakoto
1
300
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
650
kubellの最新データ分析環境
kubell_hr
2
210
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
220
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
0
320
閉域網でのAPI公開の選択肢全部比較!
takano0131
4
670
OWASP AI Agentic Top10に準拠するクラウドネイティブなガードレールの実践(CNDW 2026)
keitah
1
380
gem install とrequire のむこうがわ
ydah
0
250
SBOM 生成ツールで 2026 Minimum Elements はどこまで満たせるのか
gokken
0
120
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
230
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
77
5.6k
Speed Design
sergeychernyshev
33
2.2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Product Roadmaps are Hard
iamctodd
55
13k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
330
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
61k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Designing for Performance
lara
612
70k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
470
Prompt Engineering for Job Search
mfonobong
0
590