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 Swarm Introduction
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Victor Vieux
December 05, 2014
Technology
3
1.6k
Docker Swarm Introduction
Docker Swarm breakout session at DockerCon EU.
Victor Vieux
December 05, 2014
Tweet
Share
More Decks by Victor Vieux
See All by Victor Vieux
What's new in Docker ?
vieux
0
150
Docker Swarm - Online Meetup [#SwarmWeek Edition]
vieux
2
1.8k
What's new in Swarm 1.1
vieux
7
1.2k
Docker Swarm on Mesos
vieux
5
610
Orchestration for Sysadmins
vieux
1
120
Docker Swarm
vieux
2
880
Docker machine, swarm and compose: the future of distributed apps
vieux
1
300
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
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
170
Greatest Disaster Hits in Web Performance
guaca
0
230
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
150
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
270
今日から始めるAmazon Bedrock AgentCore
har1101
4
410
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
530
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
180
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
130
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
Featured
See All Featured
Ethics towards AI in product and experience design
skipperchong
2
190
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
110
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
A Soul's Torment
seathinner
5
2.3k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Visualization
eitanlees
150
17k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
580
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
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.!