Build and deploy multiarch Linux and Windows Container images
-
Upload
stefan-scherer -
Category
Technology
-
view
93 -
download
0
Transcript of Build and deploy multiarch Linux and Windows Container images
![Page 1: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/1.jpg)
B U I L D A N D D E P L O Y M U LT I A R C H L I N U X A N D W I N D O W S C O N TA I N E R I M A G E SS T E FA N S C H E R E R @ s t e f s c h e r e r
![Page 2: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/2.jpg)
A B O U T M E
S T E FA N S C H E R E R S R . S O F T W A R E E N G I N G E E R S E A L S Y S T E M S
s t e f s c h e r e r S t e f a n S c h e r e r
![Page 3: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/3.jpg)
B U I L D A N D S H I P D O C K E R I M A G E S
W I N D O W S C O N TA I N E R S
B U I L D S O F T WA R E W I T H G I T H U B
C L O U D C I S E R V E R S
D R A F T A M U LT I A R C H D O C K E R I M A G E
A G E N D A
![Page 4: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/4.jpg)
![Page 5: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/5.jpg)
![Page 6: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/6.jpg)
![Page 7: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/7.jpg)
Standardized packaging for software and dependencies
Isolate apps from each other
Share the same OS kernel
Works for all major Linuxdistributions
Containers native to WindowsServer 2016
W H AT I S A C O N TA I N E R ?
![Page 8: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/8.jpg)
C O N TA I N E R S O N A L L M A J O R P L AT F O R M S
![Page 9: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/9.jpg)
![Page 10: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/10.jpg)
Image Name
Volume Mount Points
Environment Variables
Command
C O N S I S T E N T I N T E R FA C E
![Page 11: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/11.jpg)
Show me some code
![Page 12: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/12.jpg)
docker push me/myapp:linux-amd64-1.0.0
docker push me/myapp:linux-arm-1.0.0
docker push me/myapp:linux-arm64-1.0.0
docker push me/myapp:windows-amd64-1.0.0
P U S H D O C K E R I M A G E P E R P L AT F O R M
![Page 13: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/13.jpg)
manifest-tool push from-args \
--platforms linux/amd64,linux/arm,windows/amd64 \
--template me/myapp:OS-ARCH-1.0.0 \
--target me/myapp:1.0.0
Coming soon: docker manifest command
P U S H M U LT I - O S , M U LT I A R C H M A N I F E S T
![Page 14: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/14.jpg)
$ docker run me/myapp:1.0.0
PS C:\> docker run me/myapp:1.0.0
R U N D O C K E R I M A G E O N A L L P L AT F O R M S
![Page 15: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/15.jpg)
Easy to provide your app for multiple platforms
Build Windows Images without infrastructure
Help Windows Docker community grow
L E S S O N S L E A R N E D
![Page 16: Build and deploy multiarch Linux and Windows Container images](https://reader031.fdocuments.us/reader031/viewer/2022022410/58e60fe41a28ab44778b5cb5/html5/thumbnails/16.jpg)
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 r e r