build and deploy multiarch linux and windows container images

16
BUILD AND DEPLOY MULTIARCH LINUX AND WINDOWS CONTAINER IMAGES STEFAN SCHERER @stefscherer

Upload: stefan-scherer

Post on 06-Apr-2017

91 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Build and deploy multiarch Linux and Windows Container images

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

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

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
Page 5: Build and deploy multiarch Linux and Windows Container images
Page 6: Build and deploy multiarch Linux and Windows Container images
Page 7: Build and deploy multiarch Linux and Windows Container images

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

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
Page 10: Build and deploy multiarch Linux and Windows Container images

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

Show me some code

Page 12: Build and deploy multiarch Linux and Windows Container images

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

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

$ 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

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

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