SlideShare a Scribd company logo
Heutiger	Sponsor:
Location,	Sprecher,	Verpflegung
Heutiges	Thema:
Stefan Scherer
Bauen	und	Verteilen	hybrider

		Docker	Images	fΓΌr

																			Linux	und	Windows
Azure Usergroup

Stuttgart
AzureStuttgart.de | twitter.com/AzureStuttgart Foto	mit	freundlicher	Genehmigung	von	lightsniper.de
β™₯ β™₯
Docker	journey	to	Multi	Arch	+	Multi	OS	
Create	a	multi-arch	Docker	image	
Build	a	CI	pipeline	
Tips	&	Tricks
Agenda
whoami
Stefan	Scherer	
Sr.	SoFware	Engineer	
SEAL	Systems	
Blog	at	stefanscherer.github.io	
@stefscherer
What	is	a	container?
What	is	a	container?
Standardized	packaging	for	
soFware	and	dependencies	
	Isolate	apps	from	each	other	
	Share	the	same	OS	kernel	
	Works	for	all	major	Linux

distribuOons
Containers	on	all	major	platforms
docker	container	run
Hub
nginx microsoft/iis
docker	container	run	-	different	OS
Hub
nginx microsoft/iis
⚑ ⚑LCOW	FTW!
docker	container	run	-	different	CPU	architecture
Hub
nginx
⚑ ⚑
IBM	s390
arm32v7/nginx
Manifest	lists
Manifest	list
Hub
me/myapp
Manifest	list:	docker	container	run
Hub
me/myapp me/myappme/myapp
Use	cases
docker	run	portainer/portainer
docker	run	microsoft/dotnet
Many	official	images	are	multi-arch	now
Windows	work	in	progress…
How	to	build	container	images?
docker	image	build	/	docker	image	push
Hub
me/myapp:linux me/myapp:windows
How	to	build	the	manifest	list?
docker	manifest	command	
				Pull	request	https://github.com/docker/cli/pull/138	
				Docker	17.12	?	
manifest-tool	from	Phil	Estes	
				Binaries	at	https://github.com/estesp/manifest-tool/releases	
Availability
docker	manifest	create
Hub
me/myapp
docker	manifest	push
Hub
me/myapp
Demo

	 building	a	multi-arch	container	image
How	to	build	a	CI	pipeline	for	that?
Docker	CI	Pipeline	for	Linux	and	Windows
docker	image	push
git	push
docker	image	push
Container

Registry
Run	Unit	Tests	
Build	App	
docker	image	build
docker	manifest	push
Hub
Docker	CI	Pipeline	for	Linux	and	Windows
docker	image	push
git	push
docker	image	push
Run	Unit	Tests	
Build	App	
docker	image	build
docker	manifest	push
Example:	github.com/StefanScherer/whoami
Tips	&	Tricks
Show	the	platforms	of	a	Docker	Hub	image
Show	the	platforms	of	a	Docker	Hub	image
Show	the	platforms	of	a	Docker	Hub	image
Show	the	platforms	of	a	Docker	Hub	image
Windows	Server	2016
Windows	Server	1709
Use	node	constraints	in	a	hybrid	cluster
services:	
		web:	
				image:			microsoft/iis	
				deploy:	
					placement:	
								constraints:	
										-	node.platform.os	==	windows
Use	node	constraints	in	a	hybrid	cluster
services:	
		web:	
				image:			nginx	
				deploy:	
					placement:	
								constraints:	
										-	node.platform.os	==	linux
Use	node	constraints	in	a	hybrid	cluster
		"spec":	{	
				"containers":	[	{	
								"name":	"iis",	
								"image":			"microsoft/iis",	
								...	
						}	],	
				"nodeSelector":	{	
						"beta.kubernetes.io/os":	"windows"	
				}	
		}
docker	manifest	command	
				Pull	request	https://github.com/docker/cli/pull/138	
				Docker	17.12	?	
manifest-tool	from	Phil	Estes	
				Binaries	at	https://github.com/estesp/manifest-tool/releases	
Availability
docker	image	build	
docker	image	push	
docker	image	build	
docker	image	push	
docker	manifest	create	
docker	manifest	push	
Recap
me/myapp
me/myapp:linux
me/myapp:windows
T H A N K Y O U !
Q U E S T I O N S ?
S T E FA N S C H E R E R
@ s t e f s c h e re r

More Related Content

PPTX
Developer South Coast 2018: Modernizing .NET Apps with Docker
PPTX
Developer South Coast 2018: Docker on Windows - The Beginner's Guide
PDF
CI/CD with Docker on AWS
PDF
IBM Index 2018 Conference Workshop: Modernizing Traditional Java App's with D...
PDF
Exploring Docker in CI/CD
PDF
Bauen und Verteilen von Multi-Arch Docker Images fΓΌr Linux und Windows
PPTX
Docker - A container full of Chocolatey
PPTX
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Developer South Coast 2018: Modernizing .NET Apps with Docker
Developer South Coast 2018: Docker on Windows - The Beginner's Guide
CI/CD with Docker on AWS
IBM Index 2018 Conference Workshop: Modernizing Traditional Java App's with D...
Exploring Docker in CI/CD
Bauen und Verteilen von Multi-Arch Docker Images fΓΌr Linux und Windows
Docker - A container full of Chocolatey
Develop and deploy Kubernetes applications with Docker - IBM Index 2018

What's hot (20)

PPTX
CI, CD with Docker, Jenkins and Tutum
PDF
From Zero Docker to Hackathon Winner - Marcos Lilljedahl and Jimena Tapia
PPTX
CI/CD Pipeline with Docker
PPTX
Let's talk Windows Containers on Windows Server 2019
PPTX
Windows Server Containers- How we hot here and architecture deep dive
PDF
Docker on Google App Engine
PDF
DCSF19 Containers for Beginners
PDF
Say Bye to VMware PowerCLI ! Time to "GOVC"
PPTX
CloudExpo 2018: Docker - Power Your Move to the Cloud
PDF
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
PPTX
Setup a Dev environment that feels like $HOME on Windows 10
PDF
How to Improve Your Image Builds Using Advance Docker Build
PDF
Deployment Automation with Docker
PPT
Amazon Web Services and Docker
PDF
Taking Docker to Production: What You Need to Know and Decide
PPTX
Integration with Docker and .NET Core
PPTX
Docker for .NET Developers
PDF
DockerCon SF 2015: Enabling Microservices @Orbitz
PPTX
Docker crash course
PDF
Docker multi-stage build
CI, CD with Docker, Jenkins and Tutum
From Zero Docker to Hackathon Winner - Marcos Lilljedahl and Jimena Tapia
CI/CD Pipeline with Docker
Let's talk Windows Containers on Windows Server 2019
Windows Server Containers- How we hot here and architecture deep dive
Docker on Google App Engine
DCSF19 Containers for Beginners
Say Bye to VMware PowerCLI ! Time to "GOVC"
CloudExpo 2018: Docker - Power Your Move to the Cloud
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
Setup a Dev environment that feels like $HOME on Windows 10
How to Improve Your Image Builds Using Advance Docker Build
Deployment Automation with Docker
Amazon Web Services and Docker
Taking Docker to Production: What You Need to Know and Decide
Integration with Docker and .NET Core
Docker for .NET Developers
DockerCon SF 2015: Enabling Microservices @Orbitz
Docker crash course
Docker multi-stage build
Ad

Similar to Azure Meetup Stuttgart - Multi-arch Docker images (20)

PPTX
Docker Ecosystem on Azure
PDF
Dockerizing development workflow
PDF
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
PDF
Docker Multi-arch All The Things
PDF
codemotion-docker-2014
PPT
Docker introduction
PPTX
Moby Open Source Summit North America 2017
PDF
Docker-v3.pdf
PDF
Docker Oxford launch - Introduction to Docker
PDF
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
Β 
PDF
Demystifying Docker
PPTX
Demystifying Docker101
PPTX
Develop with docker 2014 aug
PDF
Docker_Interview_Questions__Answers.pdf
PDF
Faster and Easier Software Development using Docker Platform
PDF
Docker, Cloud Foundry, Bosh & Bluemix
Β 
PDF
Docker module 1
PPTX
Rexdockercon2017
PPTX
Docker - Der Wal in der Kiste
PDF
Docker intro
Docker Ecosystem on Azure
Dockerizing development workflow
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
Docker Multi-arch All The Things
codemotion-docker-2014
Docker introduction
Moby Open Source Summit North America 2017
Docker-v3.pdf
Docker Oxford launch - Introduction to Docker
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
Β 
Demystifying Docker
Demystifying Docker101
Develop with docker 2014 aug
Docker_Interview_Questions__Answers.pdf
Faster and Easier Software Development using Docker Platform
Docker, Cloud Foundry, Bosh & Bluemix
Β 
Docker module 1
Rexdockercon2017
Docker - Der Wal in der Kiste
Docker intro
Ad

More from Stefan Scherer (7)

PPTX
WSL2 and Docker Desktop
PDF
Azure Saturday - Build and Deploy multi-arch Docker Images
PDF
Docker Meetup Mannheim: Multiarch docker images for cross-platform apps
PDF
Swarm 2 Go - Build A Portable Multi-Arch Data Center with Pi and UP Nodes
PDF
Build and deploy multiarch Linux and Windows Container images
PPTX
DockerCon 2016 Recap
PDF
Docker on Windows
WSL2 and Docker Desktop
Azure Saturday - Build and Deploy multi-arch Docker Images
Docker Meetup Mannheim: Multiarch docker images for cross-platform apps
Swarm 2 Go - Build A Portable Multi-Arch Data Center with Pi and UP Nodes
Build and deploy multiarch Linux and Windows Container images
DockerCon 2016 Recap
Docker on Windows

Recently uploaded (20)

PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PPTX
international classification of diseases ICD-10 review PPT.pptx
PDF
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
PPTX
Introduction to Information and Communication Technology
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
innovation process that make everything different.pptx
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PPTX
Funds Management Learning Material for Beg
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Β 
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PPTX
Internet___Basics___Styled_ presentation
Job_Card_System_Styled_lorem_ipsum_.pptx
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
international classification of diseases ICD-10 review PPT.pptx
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
Introduction to Information and Communication Technology
presentation_pfe-universite-molay-seltan.pptx
innovation process that make everything different.pptx
Unit-1 introduction to cyber security discuss about how to secure a system
Funds Management Learning Material for Beg
Paper PDF World Game (s) Great Redesign.pdf
An introduction to the IFRS (ISSB) Stndards.pdf
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Β 
Introuction about WHO-FIC in ICD-10.pptx
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Design_with_Watersergyerge45hrbgre4top (1).ppt
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
WebRTC in SignalWire - troubleshooting media negotiation
PptxGenJS_Demo_Chart_20250317130215833.pptx
Internet___Basics___Styled_ presentation

Azure Meetup Stuttgart - Multi-arch Docker images