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
More Decks by Victor Vieux
See All by Victor Vieux
What's new in Docker ?
vieux
0
180
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
640
Orchestration for Sysadmins
vieux
1
150
Docker Swarm
vieux
2
920
Docker machine, swarm and compose: the future of distributed apps
vieux
1
330
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
自宅サーバと脆弱性
masakiokuda
1
120
Claude for Google Workspaces ポン出し/claude-for-google-workspace-slide-conversion
emiki
0
13k
Maestro MCPとClaude Code Skillsによる自律的なE2Eテスト支援
asmz
0
310
AWSセキュリティで活用するAI機能
cmusudakeisuke
1
340
AIに任せられるFlutterコードベースを作る 〜仕様をコードで表し、ハーネスで守る〜
myohei
1
340
書き手が人でもAIでも正しくなる道、SREを埋め込んだDeveloper Platform / tech drivers day8
chmikata
4
800
顧客価値を追いかけたら、プライシングにたどり着いた
sansantech
PRO
2
1.1k
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
560
アカウント統制の健康診断
kenichinakamura
1
210
kintoneで在庫管理システムを作るときの要件定義・設計ポイント
kai0707
0
120
キヨさん、67歳。AIコーディングエージェントに挑む
happysamurai294
0
110
Snowflake でできることが増えたら、 ABAC が必要になった
kaeton
0
110
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
860
Being A Developer After 40
akosma
PRO
92
590k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
230
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
750
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
370
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
Visualization
eitanlees
153
17k
Optimising Largest Contentful Paint
csswizardry
37
4k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
650
The browser strikes back
jonoalderson
0
1.9k
Transcript
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.!